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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) [: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.006517/0.006517, allocations: 178.8 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.648/2.648, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.002769/0.002769, allocations: 98.3 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.02387/0.02387, allocations: 1.579 MB / 332.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.211/1.211, allocations: 90.04 MB / 473.6 MB, free: 7.285 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.5634/1.775, allocations: 76.21 MB / 0.537 GB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/2.051, allocations: 69.35 MB / 0.6047 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.05/6.101, allocations: 0.7551 GB / 1.36 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/6.101, allocations: 77.77 kB / 1.36 GB, free: 155.2 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 4.921/11.02, allocations: 0.7193 GB / 2.079 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.901e-05/11.02, allocations: 14.22 kB / 2.079 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006457/11.03, allocations: 384.8 kB / 2.08 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/11.03, allocations: 0.6863 MB / 2.08 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007405/11.03, allocations: 313.9 kB / 2.081 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006063/11.03, allocations: 75.64 kB / 2.081 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003767/11.04, allocations: 0.893 MB / 2.081 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003966/11.04, allocations: 1.054 MB / 2.082 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/11.04, allocations: 0 / 2.082 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/11.04, allocations: 6.531 kB / 2.082 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.179e-05/11.04, allocations: 33.81 kB / 2.083 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01495/11.06, allocations: 4.697 MB / 2.087 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/11.06, allocations: 0.9315 MB / 2.088 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/11.06, allocations: 0.4908 MB / 2.089 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002159/11.06, allocations: 1.929 MB / 2.09 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/11.06, allocations: 56.48 kB / 2.09 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 6.292e-06/11.06, allocations: 0 / 2.09 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.009221/11.07, allocations: 1.687 MB / 2.092 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/11.07, allocations: 66.89 kB / 2.092 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/11.07, allocations: 424.4 kB / 2.093 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/11.08, allocations: 25.7 kB / 2.093 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/11.08, allocations: 362.3 kB / 2.093 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007519/11.08, allocations: 377.4 kB / 2.093 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/11.08, allocations: 0 / 2.093 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000403/11.08, allocations: 401.6 kB / 2.094 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/11.08, allocations: 362.7 kB / 2.094 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/11.08, allocations: 448 kB / 2.094 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/11.08, allocations: 477.7 kB / 2.095 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/11.08, allocations: 0 / 2.095 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01117/11.1, allocations: 1.761 MB / 2.097 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/11.1, allocations: 3.969 kB / 2.097 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/11.1, allocations: 0 / 2.097 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/11.1, allocations: 269 kB / 2.097 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/11.1, allocations: 294.7 kB / 2.097 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/11.12, allocations: 6.165 MB / 2.103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/11.12, allocations: 143 kB / 2.103 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008827/11.12, allocations: 83.64 kB / 2.103 GB, free: 53.14 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.001255/11.12, allocations: 110.9 kB / 2.103 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000996/11.12, allocations: 89.97 kB / 2.104 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/11.14, allocations: 3.133 MB / 2.107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-05/11.14, allocations: 11.31 kB / 2.107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/11.14, allocations: 3.719 kB / 2.107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/11.14, allocations: 17.94 kB / 2.107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/11.16, allocations: 3.183 MB / 2.11 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/11.16, allocations: 0 / 2.11 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/11.16, allocations: 310.6 kB / 2.11 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/11.17, allocations: 267.2 kB / 2.11 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004588/11.17, allocations: 42.84 kB / 2.11 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/11.18, allocations: 6.17 MB / 2.116 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/11.18, allocations: 3.188 kB / 2.116 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01504/11.19, allocations: 2.495 MB / 2.119 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01801/11.21, allocations: 3.643 MB / 2.122 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009176/11.21, allocations: 171.9 kB / 2.123 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/11.21, allocations: 3.438 kB / 2.123 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/11.22, allocations: 105 kB / 2.123 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/11.22, allocations: 83.58 kB / 2.123 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005615/11.22, allocations: 76.14 kB / 2.123 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001249/11.22, allocations: 333.5 kB / 2.123 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008288/11.23, allocations: 0.9244 MB / 2.124 GB, free: 46.19 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.008419/11.24, allocations: 1.925 MB / 2.126 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008153/11.24, allocations: 1.787 MB / 2.128 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/11.24, allocations: 0 / 2.128 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005662/11.25, allocations: 1.386 MB / 2.129 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/11.25, allocations: 181.1 kB / 2.129 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/11.27, allocations: 2.098 MB / 2.131 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004397/11.27, allocations: 1.404 MB / 2.133 GB, free: 59.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.425e-06/11.27, allocations: 1.219 kB / 2.133 GB, free: 59.6 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)