Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") [: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.002014/0.002014, allocations: 176.5 kB / 7.461 MB, free: 2.488 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.051/1.051, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0008358/0.0008358, allocations: 106.8 kB / 280.1 MB, free: 1.328 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.007713/0.007713, allocations: 1.575 MB / 332.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4224/0.4224, 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 6.813e-06/6.853e-06, allocations: 4 kB / 0.5369 GB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 69.35 MB / 0.6046 GB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/1.543, allocations: 0.7551 GB / 1.36 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001463/1.543, allocations: 75.22 kB / 1.36 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.79/3.333, allocations: 0.7169 GB / 2.077 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.043e-05/3.333, allocations: 39.55 kB / 2.077 GB, free: 66.21 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.005361/3.338, allocations: 2.457 MB / 2.079 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/3.338, allocations: 7.781 kB / 2.079 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/3.341, allocations: 383 kB / 2.08 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/3.341, allocations: 0.6877 MB / 2.08 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/3.342, allocations: 316.6 kB / 2.081 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/3.342, allocations: 75.47 kB / 2.081 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/3.343, allocations: 0.8843 MB / 2.081 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/3.345, allocations: 1.06 MB / 2.082 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/3.345, allocations: 1.938 kB / 2.082 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/3.345, allocations: 5.812 kB / 2.083 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/3.345, allocations: 31.75 kB / 2.083 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/3.349, allocations: 4.712 MB / 2.087 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/3.35, allocations: 0.9313 MB / 2.088 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/3.351, allocations: 498.9 kB / 2.089 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000815/3.352, allocations: 1.926 MB / 2.09 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/3.352, allocations: 42.75 kB / 2.09 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 2.575e-06/3.352, allocations: 1.469 kB / 2.09 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.004438/3.356, allocations: 1.699 MB / 2.092 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/3.356, allocations: 67.03 kB / 2.092 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/3.357, allocations: 421 kB / 2.093 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/3.357, allocations: 25.7 kB / 2.093 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/3.357, allocations: 365.4 kB / 2.093 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/3.357, allocations: 378 kB / 2.093 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/3.357, allocations: 0 / 2.093 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/3.357, allocations: 399.4 kB / 2.094 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/3.358, allocations: 366.2 kB / 2.094 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/3.358, allocations: 441.7 kB / 2.094 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/3.36, allocations: 479 kB / 2.095 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/3.36, allocations: 0 / 2.095 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00431/3.364, allocations: 1.753 MB / 2.097 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/3.364, allocations: 7.75 kB / 2.097 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/3.364, allocations: 1.562 kB / 2.097 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/3.365, allocations: 272.8 kB / 2.097 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/3.366, allocations: 294.1 kB / 2.097 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/3.371, allocations: 6.175 MB / 2.103 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/3.373, allocations: 137.5 kB / 2.103 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/3.373, allocations: 85.55 kB / 2.103 GB, free: 53.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/3.373, allocations: 114.5 kB / 2.104 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/3.373, allocations: 91.16 kB / 2.104 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007012/3.38, allocations: 3.132 MB / 2.107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/3.38, allocations: 14.08 kB / 2.107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/3.38, allocations: 3.781 kB / 2.107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/3.38, allocations: 6.75 kB / 2.107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/3.386, allocations: 3.195 MB / 2.11 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/3.386, allocations: 0 / 2.11 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/3.388, allocations: 301.4 kB / 2.11 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005996/3.388, allocations: 266.6 kB / 2.11 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/3.389, allocations: 45.42 kB / 2.11 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/3.394, allocations: 6.163 MB / 2.116 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/3.394, allocations: 5.312 kB / 2.116 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005276/3.399, allocations: 2.491 MB / 2.119 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/3.399, allocations: 175.2 kB / 2.119 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/3.399, allocations: 7.25 kB / 2.119 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/3.4, allocations: 101.2 kB / 2.119 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/3.4, allocations: 81.27 kB / 2.119 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/3.4, allocations: 83.86 kB / 2.119 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002919/3.401, allocations: 322.9 kB / 2.12 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002186/3.403, allocations: 0.706 MB / 2.12 GB, free: 47.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002725/3.406, allocations: 1.929 MB / 2.122 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002881/3.408, allocations: 1.786 MB / 2.124 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/3.408, allocations: 1.312 kB / 2.124 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/3.411, allocations: 1.391 MB / 2.125 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/3.411, allocations: 176.8 kB / 2.125 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/3.415, allocations: 2.08 MB / 2.127 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/3.416, allocations: 1.384 MB / 2.129 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/3.416, allocations: 0 / 2.129 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.04133/3.458, allocations: 29.88 MB / 2.158 GB, free: 42.19 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)