Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.002054/0.002054, allocations: 178.5 kB / 7.458 MB, free: 2.238 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.01/1.01, allocations: 221.4 MB / 229.3 MB, free: 3.336 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.0008489/0.0008487, allocations: 98.72 kB / 280.1 MB, free: 1.258 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.007331/0.007331, allocations: 1.572 MB / 332.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.3858/0.3858, allocations: 90.05 MB / 473.7 MB, free: 7.23 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.039e-06/5.049e-06, allocations: 0 / 0.5369 GB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 69.36 MB / 0.6046 GB, free: 8.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.303, allocations: 0.7536 GB / 1.358 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/1.303, allocations: 73.47 kB / 1.358 GB, free: 159 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.086/2.389, allocations: 443 MB / 1.791 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.92e-05/2.389, allocations: 25.64 kB / 1.791 GB, free: 106.7 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.003074/2.393, allocations: 1.597 MB / 1.792 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/2.393, allocations: 9.125 kB / 1.792 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/2.394, allocations: 213.4 kB / 1.793 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/2.394, allocations: 489.6 kB / 1.793 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/2.395, allocations: 162.7 kB / 1.793 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/2.395, allocations: 45.69 kB / 1.793 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007226/2.395, allocations: 0.4941 MB / 1.794 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/2.396, allocations: 0.5475 MB / 1.794 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/2.396, allocations: 3.875 kB / 1.794 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/2.396, allocations: 0 / 1.794 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/2.396, allocations: 17.31 kB / 1.794 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/2.399, allocations: 2.482 MB / 1.797 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/2.399, allocations: 339.5 kB / 1.797 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/2.4, allocations: 283.2 kB / 1.797 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/2.4, allocations: 0.5939 MB / 1.798 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/2.4, allocations: 44.88 kB / 1.798 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 1.693e-06/2.4, allocations: 0 / 1.798 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.002386/2.402, allocations: 0.9283 MB / 1.799 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/2.402, allocations: 63.03 kB / 1.799 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/2.403, allocations: 304.5 kB / 1.799 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/2.403, allocations: 25.7 kB / 1.799 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/2.403, allocations: 255.4 kB / 1.8 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/2.403, allocations: 201.2 kB / 1.8 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/2.403, allocations: 0 / 1.8 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/2.403, allocations: 365.1 kB / 1.8 GB, free: 103 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/2.403, allocations: 197.8 kB / 1.8 GB, free: 103 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/2.404, allocations: 200.1 kB / 1.8 GB, free: 103 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007538/2.404, allocations: 255.4 kB / 1.801 GB, free: 103 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/2.404, allocations: 3.938 kB / 1.801 GB, free: 103 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002239/2.407, allocations: 0.9583 MB / 1.802 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/2.407, allocations: 7.5 kB / 1.802 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/2.407, allocations: 0 / 1.802 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/2.407, allocations: 154.4 kB / 1.802 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/2.408, allocations: 151.2 kB / 1.802 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/2.411, allocations: 4.301 MB / 1.806 GB, free: 99.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/2.411, allocations: 78 kB / 1.806 GB, free: 99.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/2.411, allocations: 50.19 kB / 1.806 GB, free: 99.27 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 (55): * Single equations (assignments): 50 * 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.0001244/2.411, allocations: 120.2 kB / 1.806 GB, free: 99.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/2.412, allocations: 51.41 kB / 1.806 GB, free: 99.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/2.415, allocations: 1.842 MB / 1.808 GB, free: 99.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/2.415, allocations: 9.703 kB / 1.808 GB, free: 99.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.415, allocations: 3.375 kB / 1.808 GB, free: 99.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/2.415, allocations: 6.438 kB / 1.808 GB, free: 99.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/2.419, allocations: 1.856 MB / 1.81 GB, free: 98.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.419, allocations: 0 / 1.81 GB, free: 98.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/2.419, allocations: 160.3 kB / 1.81 GB, free: 98.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/2.42, allocations: 161.8 kB / 1.81 GB, free: 98.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/2.42, allocations: 22.95 kB / 1.81 GB, free: 98.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/2.423, allocations: 4.304 MB / 1.815 GB, free: 95.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/2.423, allocations: 6.125 kB / 1.815 GB, free: 95.05 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002689/2.426, allocations: 1.396 MB / 1.816 GB, free: 94.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/2.426, allocations: 197.3 kB / 1.816 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/2.426, allocations: 3.656 kB / 1.816 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/2.426, allocations: 60.19 kB / 1.816 GB, free: 94.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/2.427, allocations: 49 kB / 1.816 GB, free: 94.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/2.427, allocations: 52.47 kB / 1.816 GB, free: 94.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001797/2.427, allocations: 234.9 kB / 1.817 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001293/2.428, allocations: 471.2 kB / 1.817 GB, free: 94.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.001684/2.43, allocations: 1.541 MB / 1.818 GB, free: 94.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001537/2.431, allocations: 1.063 MB / 1.82 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/2.431, allocations: 0 / 1.82 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/2.433, allocations: 0.8387 MB / 1.82 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/2.433, allocations: 123.8 kB / 1.82 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/2.436, allocations: 1.237 MB / 1.822 GB, free: 93.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008559/2.436, allocations: 1.109 MB / 1.823 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/2.436, allocations: 0 / 1.823 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.02357/2.46, allocations: 20.36 MB / 1.843 GB, free: 92.07 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)