Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [: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.002739/0.002739, 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.121/1.121, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009141/0.0009142, allocations: 102.9 kB / 280.1 MB, free: 1.297 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.007821/0.007821, allocations: 1.57 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.4083/0.4083, allocations: 90.04 MB / 473.6 MB, free: 7.297 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.219e-06/5.24e-06, allocations: 0 / 0.5369 GB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 69.35 MB / 0.6046 GB, free: 8.898 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.336, allocations: 0.755 GB / 1.36 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.336, allocations: 74.98 kB / 1.36 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.311/2.647, allocations: 0.5631 GB / 1.923 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.958e-05/2.647, allocations: 30.27 kB / 1.923 GB, free: 69.68 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004427/2.651, allocations: 1.943 MB / 1.925 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/2.651, allocations: 8.031 kB / 1.925 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/2.653, allocations: 263.6 kB / 1.925 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/2.654, allocations: 0.5635 MB / 1.926 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/2.654, allocations: 168.7 kB / 1.926 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/2.654, allocations: 59.94 kB / 1.926 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009737/2.655, allocations: 0.6209 MB / 1.926 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/2.656, allocations: 0.7689 MB / 1.927 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/2.656, allocations: 4 kB / 1.927 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/2.656, allocations: 2.625 kB / 1.927 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/2.656, allocations: 23.94 kB / 1.927 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/2.66, allocations: 3.501 MB / 1.931 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/2.66, allocations: 0.6789 MB / 1.931 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/2.661, allocations: 352.4 kB / 1.932 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/2.661, allocations: 1.426 MB / 1.933 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/2.661, allocations: 43.16 kB / 1.933 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 2.164e-06/2.661, allocations: 3.938 kB / 1.933 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.00302/2.664, allocations: 1.113 MB / 1.934 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/2.664, allocations: 60.06 kB / 1.934 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/2.665, allocations: 367.3 kB / 1.935 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/2.665, allocations: 25.7 kB / 1.935 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/2.665, allocations: 299.9 kB / 1.935 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/2.665, allocations: 271.9 kB / 1.935 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/2.665, allocations: 0 / 1.935 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/2.665, allocations: 382.7 kB / 1.935 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/2.666, allocations: 249.5 kB / 1.936 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/2.666, allocations: 327.2 kB / 1.936 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/2.667, allocations: 351.6 kB / 1.936 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/2.667, allocations: 0 / 1.936 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002866/2.67, allocations: 1.167 MB / 1.937 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/2.67, allocations: 6.5 kB / 1.937 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.67, allocations: 4 kB / 1.937 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/2.671, allocations: 170 kB / 1.938 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/2.671, allocations: 203.2 kB / 1.938 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/2.675, allocations: 4.434 MB / 1.942 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/2.675, allocations: 84.97 kB / 1.942 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/2.676, allocations: 63.97 kB / 1.942 GB, free: 48.79 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 (80): * Single equations (assignments): 75 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.676, allocations: 112.5 kB / 1.942 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/2.676, allocations: 75.06 kB / 1.942 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/2.681, allocations: 2.244 MB / 1.945 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/2.681, allocations: 8 kB / 1.945 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/2.681, allocations: 4 kB / 1.945 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/2.681, allocations: 10.64 kB / 1.945 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/2.685, allocations: 2.255 MB / 1.947 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/2.685, allocations: 4 kB / 1.947 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/2.686, allocations: 207.5 kB / 1.947 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/2.686, allocations: 173 kB / 1.947 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/2.686, allocations: 31.97 kB / 1.947 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/2.689, allocations: 4.421 MB / 1.952 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.689, allocations: 0 / 1.952 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003286/2.693, allocations: 1.751 MB / 1.953 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/2.693, allocations: 148 kB / 1.953 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/2.693, allocations: 8 kB / 1.953 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/2.694, allocations: 54.61 kB / 1.954 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/2.694, allocations: 64.59 kB / 1.954 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/2.694, allocations: 59.97 kB / 1.954 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002112/2.694, allocations: 286.3 kB / 1.954 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001499/2.695, allocations: 0.5847 MB / 1.954 GB, free: 36.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.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 (82): * Single equations (assignments): 76 * 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%) 4,(3,88.9%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/2.698, allocations: 1.667 MB / 1.956 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001803/2.699, allocations: 1.24 MB / 1.957 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.699, allocations: 4 kB / 1.957 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/2.701, allocations: 0.9505 MB / 1.958 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/2.702, allocations: 159.9 kB / 1.958 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/2.704, allocations: 1.598 MB / 1.96 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/2.705, allocations: 1.223 MB / 1.961 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/2.705, allocations: 0 / 1.961 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.02944/2.735, allocations: 23.83 MB / 1.984 GB, free: 5.801 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)