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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 179.1 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.041/1.041, allocations: 221.4 MB / 229.3 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008416/0.0008415, allocations: 93.95 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007422/0.007423, allocations: 1.562 MB / 332.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4168/0.4168, allocations: 90.04 MB / 473.6 MB, free: 7.293 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.25e-06, allocations: 0 / 0.5369 GB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 69.35 MB / 0.6046 GB, free: 8.898 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/1.541, allocations: 0.7542 GB / 1.359 GB, free: 159 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/1.541, allocations: 77.36 kB / 1.359 GB, free: 159 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.138/2.68, allocations: 472.1 MB / 1.82 GB, free: 112 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.213e-05/2.68, allocations: 22.28 kB / 1.82 GB, free: 112 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004052/2.684, allocations: 1.642 MB / 1.822 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/2.684, allocations: 11.72 kB / 1.822 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/2.685, allocations: 215.2 kB / 1.822 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/2.686, allocations: 489.6 kB / 1.822 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/2.686, allocations: 166.4 kB / 1.822 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/2.687, allocations: 39.12 kB / 1.822 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009495/2.688, allocations: 0.4993 MB / 1.823 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/2.689, allocations: 0.5421 MB / 1.823 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/2.689, allocations: 0 / 1.823 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/2.689, allocations: 0 / 1.823 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/2.689, allocations: 20.97 kB / 1.823 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/2.692, allocations: 2.65 MB / 1.826 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/2.692, allocations: 333.6 kB / 1.826 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/2.692, allocations: 284.5 kB / 1.827 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/2.693, allocations: 1.01 MB / 1.828 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/2.693, allocations: 41.88 kB / 1.828 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 2.324e-06/2.693, allocations: 3.75 kB / 1.828 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.002666/2.696, allocations: 0.9423 MB / 1.829 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/2.696, allocations: 59.81 kB / 1.829 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/2.696, allocations: 292.7 kB / 1.829 GB, free: 108 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/2.696, allocations: 25.7 kB / 1.829 GB, free: 108 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/2.696, allocations: 254.2 kB / 1.829 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/2.696, allocations: 205.6 kB / 1.829 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/2.696, allocations: 0 / 1.829 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/2.696, allocations: 371.4 kB / 1.83 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/2.697, allocations: 200.8 kB / 1.83 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/2.697, allocations: 199 kB / 1.83 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009051/2.698, allocations: 268.1 kB / 1.83 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/2.698, allocations: 0 / 1.83 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002515/2.7, allocations: 0.9603 MB / 1.831 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/2.7, allocations: 6.781 kB / 1.831 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/2.7, allocations: 3.797 kB / 1.831 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/2.701, allocations: 157.6 kB / 1.831 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/2.702, allocations: 151.9 kB / 1.832 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/2.705, allocations: 4.303 MB / 1.836 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/2.705, allocations: 73.69 kB / 1.836 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/2.706, allocations: 47.2 kB / 1.836 GB, free: 103.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001287/2.706, allocations: 115.4 kB / 1.836 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/2.706, allocations: 53.62 kB / 1.836 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/2.71, allocations: 1.715 MB / 1.838 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/2.71, allocations: 11.03 kB / 1.838 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.71, allocations: 3.75 kB / 1.838 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/2.71, allocations: 3.234 kB / 1.838 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/2.713, allocations: 1.898 MB / 1.84 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/2.713, allocations: 0 / 1.84 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/2.714, allocations: 155.9 kB / 1.84 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/2.715, allocations: 164.1 kB / 1.84 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/2.715, allocations: 23.56 kB / 1.84 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/2.718, allocations: 4.305 MB / 1.844 GB, free: 99.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.718, allocations: 3.906 kB / 1.844 GB, free: 99.46 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00314/2.721, allocations: 1.439 MB / 1.846 GB, free: 99.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/2.721, allocations: 136 kB / 1.846 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/2.721, allocations: 6.781 kB / 1.846 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/2.722, allocations: 51.92 kB / 1.846 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/2.722, allocations: 54.66 kB / 1.846 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/2.722, allocations: 45.27 kB / 1.846 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002048/2.722, allocations: 241.6 kB / 1.846 GB, free: 98.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001564/2.724, allocations: 0.495 MB / 1.847 GB, free: 98.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 3,(3,88.9%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002356/2.726, allocations: 1.514 MB / 1.848 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001754/2.728, allocations: 1.067 MB / 1.849 GB, free: 98.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/2.728, allocations: 6.688 kB / 1.849 GB, free: 98.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/2.729, allocations: 0.8536 MB / 1.85 GB, free: 97.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/2.73, allocations: 124.1 kB / 1.85 GB, free: 97.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/2.732, allocations: 1.194 MB / 1.851 GB, free: 97.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008572/2.733, allocations: 1.086 MB / 1.852 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/2.733, allocations: 0 / 1.852 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.0329/2.766, allocations: 20.33 MB / 1.872 GB, free: 96.32 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)