Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 101.6 kB / 15.71 MB, free: 456 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.002324/0.002325, allocations: 177.5 kB / 16.58 MB, free: 6.863 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.654/1.654, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9409/0.9409, allocations: 89.61 MB / 381.3 MB, free: 11.47 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.000427, allocations: 9.281 kB / 460.6 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 68.83 MB / 0.5171 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.6697/0.825, allocations: 184.1 MB / 0.6968 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.8437, allocations: 13.87 MB / 0.7103 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.8453, allocations: 19.88 kB / 0.7104 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.8471, allocations: 429.6 kB / 0.7108 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.8515, allocations: 1.085 MB / 0.7118 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.8559, allocations: 1.133 MB / 0.7129 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.8581, allocations: 1.234 MB / 0.7141 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.8585, allocations: 204.7 kB / 0.7143 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.861, allocations: 0.8996 MB / 0.7152 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.8615, allocations: 426 kB / 0.7156 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-05/0.8616, allocations: 40 kB / 0.7157 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006454/0.8681, allocations: 2.434 MB / 0.718 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.8683, allocations: 135.4 kB / 0.7182 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.8687, allocations: 193.2 kB / 0.7184 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.8716, allocations: 1.247 MB / 0.7196 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.8717, allocations: 4 kB / 0.7196 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.797e-06/0.8717, allocations: 0 / 0.7196 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.8717, allocations: 0 / 0.7196 GB, free: 12.57 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00295/0.8747, allocations: 1.259 MB / 0.7208 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.8747, allocations: 8.031 kB / 0.7208 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.8764, allocations: 226.6 kB / 0.721 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.8772, allocations: 0.5025 MB / 0.7215 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.8774, allocations: 192.8 kB / 0.7217 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.8776, allocations: 75.95 kB / 0.7218 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.8792, allocations: 0.8414 MB / 0.7226 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.8792, allocations: 3.984 kB / 0.7226 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.8793, allocations: 32 kB / 0.7226 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.8793, allocations: 16 kB / 0.7226 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.8808, allocations: 0.6831 MB / 0.7233 GB, free: 8.613 MB / 0.5294 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.004365/0.8852, allocations: 3.167 MB / 0.7264 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.8866, allocations: 0.6287 MB / 0.727 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007563/0.8873, allocations: 374.4 kB / 0.7274 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008746/0.8882, allocations: 0.8913 MB / 0.7283 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.8883, allocations: 47.06 kB / 0.7283 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=58): time 2.865e-06/0.8883, allocations: 0 / 0.7283 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58): time 0.004936/0.8932, allocations: 1.874 MB / 0.7301 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.8933, allocations: 59.97 kB / 0.7302 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.8941, allocations: 0.5148 MB / 0.7307 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.8942, allocations: 33.7 kB / 0.7307 GB, free: 436 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.8945, allocations: 368.2 kB / 0.7311 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.8948, allocations: 209 kB / 0.7313 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.8948, allocations: 8 kB / 0.7313 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.8951, allocations: 378.8 kB / 0.7316 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.8957, allocations: 277 kB / 0.7319 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.8964, allocations: 328.6 kB / 0.7322 GB, free: 14.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.8971, allocations: 294.1 kB / 0.7325 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8971, allocations: 0 / 0.7325 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002652/0.8998, allocations: 1.129 MB / 0.7336 GB, free: 13.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8998, allocations: 11.98 kB / 0.7336 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8998, allocations: 0 / 0.7336 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.9006, allocations: 262.4 kB / 0.7339 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.9013, allocations: 147.8 kB / 0.734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.907, allocations: 4.92 MB / 0.7388 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.9077, allocations: 91.53 kB / 0.7389 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/0.9078, allocations: 35.98 kB / 0.7389 GB, free: 7.582 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004031/0.9082, allocations: 203.1 kB / 0.7391 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.9083, allocations: 67.16 kB / 0.7392 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.9119, allocations: 1.513 MB / 0.7407 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.912, allocations: 8 kB / 0.7407 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.912, allocations: 4 kB / 0.7407 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.912, allocations: 0 / 0.7407 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.9169, allocations: 2.153 MB / 0.7428 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.9169, allocations: 3.938 kB / 0.7428 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.9176, allocations: 144 kB / 0.7429 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008559/0.9185, allocations: 270.3 kB / 0.7432 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.9186, allocations: 19.98 kB / 0.7432 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.9247, allocations: 4.919 MB / 0.748 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9247, allocations: 7.938 kB / 0.748 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.9281, allocations: 1.506 MB / 0.7495 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.9286, allocations: 204 kB / 0.7497 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.9288, allocations: 12 kB / 0.7497 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.9294, allocations: 63.89 kB / 0.7497 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.9295, allocations: 60.61 kB / 0.7498 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.9296, allocations: 31.98 kB / 0.7498 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005812/0.9302, allocations: 378.8 kB / 0.7502 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.9302, allocations: 0 / 0.7502 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001709/0.9319, allocations: 387.3 kB / 0.7506 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.9333, allocations: 0.5284 MB / 0.7511 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.9359, allocations: 1.143 MB / 0.7522 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9359, allocations: 7.938 kB / 0.7522 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.9374, allocations: 0.8656 MB / 0.753 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.9385, allocations: 177.1 kB / 0.7532 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.942, allocations: 2.067 MB / 0.7552 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.9426, allocations: 0.9419 MB / 0.7562 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.943, allocations: 119.4 kB / 0.7563 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of SimCode: time 1.884e-06/0.943, allocations: 3.938 kB / 0.7563 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.03284/0.9759, allocations: 23.19 MB / 0.7789 GB, free: 13.91 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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 OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlowCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlowCalcHelperMain.o] Error 1