Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 99.05 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 174 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 15.94 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8976, allocations: 153.7 MB / 1.022 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2266/1.124, allocations: 182.2 MB / 1.2 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01291/1.137, allocations: 7.183 MB / 1.207 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/1.139, allocations: 39.75 kB / 1.207 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/1.141, allocations: 456.9 kB / 1.207 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005743/1.147, allocations: 1.496 MB / 1.209 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/1.15, allocations: 0.8674 MB / 1.209 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00641/1.156, allocations: 2.978 MB / 1.212 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/1.159, allocations: 0.7151 MB / 1.213 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/1.163, allocations: 1.213 MB / 1.214 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/1.166, allocations: 0.7545 MB / 1.215 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/1.166, allocations: 44 kB / 1.215 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/1.169, allocations: 1.259 MB / 1.216 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003948/1.17, allocations: 255 kB / 1.216 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005525/1.17, allocations: 245.1 kB / 1.217 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/1.173, allocations: 1.481 MB / 1.218 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.173, allocations: 0 / 1.218 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.645e-06/1.173, allocations: 0 / 1.218 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.173, allocations: 0 / 1.218 GB, free: 7.555 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003511/1.176, allocations: 1.479 MB / 1.22 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.177, allocations: 12.03 kB / 1.22 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/1.179, allocations: 474.1 kB / 1.22 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/1.181, allocations: 0.8792 MB / 1.221 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005418/1.181, allocations: 185.9 kB / 1.221 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.181, allocations: 75.98 kB / 1.221 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/1.184, allocations: 1.126 MB / 1.222 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.184, allocations: 0 / 1.222 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/1.184, allocations: 28 kB / 1.222 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/1.184, allocations: 34 kB / 1.222 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/1.187, allocations: 1.272 MB / 1.224 GB, free: 1.887 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/1.193, allocations: 4.15 MB / 1.228 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/1.196, allocations: 0.9437 MB / 1.229 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/1.197, allocations: 0.5333 MB / 1.229 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/1.198, allocations: 0.6526 MB / 1.23 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/1.199, allocations: 0.6265 MB / 1.23 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=57): time 2.355e-06/1.199, allocations: 0 / 1.23 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57): time 0.004113/1.203, allocations: 1.532 MB / 1.232 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/1.203, allocations: 85.67 kB / 1.232 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.205, allocations: 0.8278 MB / 1.233 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/1.205, allocations: 41.7 kB / 1.233 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/1.205, allocations: 428.4 kB / 1.233 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.205, allocations: 193.2 kB / 1.233 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/1.205, allocations: 8 kB / 1.233 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.205, allocations: 330 kB / 1.234 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.207, allocations: 448.8 kB / 1.234 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/1.208, allocations: 0.5743 MB / 1.235 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.209, allocations: 491.6 kB / 1.235 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.209, allocations: 0 / 1.235 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002797/1.212, allocations: 1.14 MB / 1.236 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/1.212, allocations: 170.2 kB / 1.236 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.212, allocations: 3.984 kB / 1.236 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.212, allocations: 4 kB / 1.236 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/1.213, allocations: 247.7 kB / 1.237 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007671/1.214, allocations: 1.188 MB / 1.238 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.215, allocations: 195.4 kB / 1.238 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/1.216, allocations: 31.98 kB / 1.238 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.216, allocations: 5.094 kB / 1.238 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002511/1.218, allocations: 1.034 MB / 1.239 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.218, allocations: 0 / 1.239 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/1.218, allocations: 4 kB / 1.239 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/1.219, allocations: 215.9 kB / 1.239 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.219, allocations: 8 kB / 1.239 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.22, allocations: 183.3 kB / 1.239 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/1.22, allocations: 27.98 kB / 1.239 GB, free: 0.9766 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006809/1.221, allocations: 341 kB / 1.24 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.221, allocations: 98.83 kB / 1.24 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/1.224, allocations: 1.212 MB / 1.241 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.224, allocations: 12 kB / 1.241 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.224, allocations: 0 / 1.241 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.224, allocations: 3.984 kB / 1.241 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/1.229, allocations: 2.396 MB / 1.243 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.229, allocations: 8.062 kB / 1.243 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.23, allocations: 219.7 kB / 1.244 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/1.23, allocations: 8 kB / 1.244 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/1.231, allocations: 23.94 kB / 1.244 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/1.231, allocations: 1.18 MB / 1.245 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.231, allocations: 12 kB / 1.245 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/1.234, allocations: 1.294 MB / 1.246 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/1.235, allocations: 291.5 kB / 1.246 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/1.235, allocations: 19.98 kB / 1.246 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.236, allocations: 155.8 kB / 1.247 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.237, allocations: 60.31 kB / 1.247 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/1.237, allocations: 31.97 kB / 1.247 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001064/1.238, allocations: 0.5704 MB / 1.247 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.238, allocations: 0 / 1.247 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001897/1.24, allocations: 495 kB / 1.248 GB, free: 8.34 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00093/1.241, allocations: 286.2 kB / 1.248 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004766/1.245, allocations: 1.723 MB / 1.25 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.245, allocations: 0 / 1.25 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.247, allocations: 0.5963 MB / 1.25 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/1.25, allocations: 472.8 kB / 1.251 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/1.256, allocations: 2.275 MB / 1.253 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.257, allocations: 1.043 MB / 1.254 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/1.257, allocations: 87.39 kB / 1.254 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of SimCode: time 2.034e-06/1.257, allocations: 4 kB / 1.254 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of Templates: time 0.7656/2.023, allocations: 25.16 MB / 1.279 GB, free: 223 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectivenessCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectivenessCalcHelperMain.o] Error 1