Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009968/0.000997, allocations: 177.5 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008659/0.0008658, allocations: 87.31 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2171/0.218, allocations: 121.4 MB / 0.8511 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.7171, allocations: 115.3 MB / 0.9638 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7358/1.453, allocations: 453.9 MB / 1.407 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.453, allocations: 91.12 kB / 1.407 GB, free: 113.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 3.255/4.708, allocations: 1.17 GB / 2.577 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/4.708, allocations: 9.125 kB / 2.577 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/4.71, allocations: 489.8 kB / 2.578 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/4.715, allocations: 2.317 MB / 2.58 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/4.715, allocations: 38.84 kB / 2.58 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/4.715, allocations: 75.31 kB / 2.58 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/4.716, allocations: 0.7897 MB / 2.581 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/4.718, allocations: 1.094 MB / 2.582 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/4.718, allocations: 2.812 kB / 2.582 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/4.718, allocations: 2.906 kB / 2.582 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/4.718, allocations: 32.03 kB / 2.582 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006566/4.724, allocations: 6.927 MB / 2.589 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/4.725, allocations: 0.6134 MB / 2.59 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/4.726, allocations: 324.5 kB / 2.59 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/4.729, allocations: 2.819 MB / 2.593 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/4.73, allocations: 341.2 kB / 2.593 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=64): time 2.535e-06/4.73, allocations: 0 / 2.593 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=64): time 0.002034/4.732, allocations: 0.8634 MB / 2.594 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/4.732, allocations: 162.2 kB / 2.594 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/4.733, allocations: 1.245 MB / 2.595 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/4.733, allocations: 27.83 kB / 2.595 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/4.733, allocations: 0.5831 MB / 2.596 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/4.734, allocations: 217.7 kB / 2.596 GB, free: 99.88 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/4.734, allocations: 5.125 kB / 2.596 GB, free: 99.88 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/4.734, allocations: 343.3 kB / 2.596 GB, free: 99.55 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/4.734, allocations: 275.1 kB / 2.597 GB, free: 99.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/4.735, allocations: 0.7048 MB / 2.597 GB, free: 98.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/4.736, allocations: 0.5424 MB / 2.598 GB, free: 98.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/4.736, allocations: 2.625 kB / 2.598 GB, free: 98.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00239/4.739, allocations: 1.196 MB / 2.599 GB, free: 97.92 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00074/4.739, allocations: 4.513 MB / 2.603 GB, free: 93.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/4.739, allocations: 12 kB / 2.603 GB, free: 93.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/4.739, allocations: 16 kB / 2.603 GB, free: 93.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/4.74, allocations: 265.6 kB / 2.604 GB, free: 92.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/4.74, allocations: 23.92 kB / 2.604 GB, free: 92.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/4.742, allocations: 153.6 kB / 2.604 GB, free: 92.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/4.742, allocations: 59.97 kB / 2.604 GB, free: 92.56 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-06/4.742, allocations: 3.625 kB / 2.604 GB, free: 92.56 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/4.744, allocations: 0.9675 MB / 2.605 GB, free: 91.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/4.744, allocations: 12 kB / 2.605 GB, free: 91.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/4.744, allocations: 19.91 kB / 2.605 GB, free: 91.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/4.745, allocations: 257.4 kB / 2.605 GB, free: 91.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/4.745, allocations: 27.86 kB / 2.605 GB, free: 91.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/4.746, allocations: 139.7 kB / 2.605 GB, free: 91.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/4.746, allocations: 55.98 kB / 2.605 GB, free: 91.11 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001826/4.746, allocations: 144.2 kB / 2.605 GB, free: 90.97 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/4.746, allocations: 165.8 kB / 2.606 GB, free: 90.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/4.749, allocations: 1.135 MB / 2.607 GB, free: 89.69 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/4.749, allocations: 4 kB / 2.607 GB, free: 89.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/4.749, allocations: 4 kB / 2.607 GB, free: 89.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/4.75, allocations: 0.9104 MB / 2.608 GB, free: 88.71 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/4.753, allocations: 2.134 MB / 2.61 GB, free: 86.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/4.753, allocations: 4 kB / 2.61 GB, free: 86.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/4.754, allocations: 147.9 kB / 2.61 GB, free: 86.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/4.754, allocations: 28.84 kB / 2.61 GB, free: 86.37 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/4.754, allocations: 11.98 kB / 2.61 GB, free: 86.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007514/4.755, allocations: 1.268 MB / 2.611 GB, free: 84.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/4.755, allocations: 4.031 kB / 2.611 GB, free: 84.97 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002066/4.757, allocations: 1.434 MB / 2.612 GB, free: 83.5 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002627/4.76, allocations: 2.271 MB / 2.615 GB, free: 81.19 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/4.76, allocations: 342.7 kB / 2.615 GB, free: 80.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/4.76, allocations: 4 kB / 2.615 GB, free: 80.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/4.761, allocations: 75.83 kB / 2.615 GB, free: 80.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/4.761, allocations: 48.58 kB / 2.615 GB, free: 80.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/4.761, allocations: 34.03 kB / 2.615 GB, free: 80.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0009683/4.762, allocations: 0.9352 MB / 2.616 GB, free: 79.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004552/4.767, allocations: 1.306 MB / 2.617 GB, free: 78.44 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/4.769, allocations: 1.234 MB / 2.619 GB, free: 77.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001596/4.77, allocations: 1.366 MB / 2.62 GB, free: 76.01 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/4.77, allocations: 4.5 kB / 2.62 GB, free: 76.01 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005169/4.771, allocations: 455.9 kB / 2.62 GB, free: 75.55 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/4.773, allocations: 0.6169 MB / 2.621 GB, free: 74.97 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/4.777, allocations: 2.379 MB / 2.623 GB, free: 72.58 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009988/4.778, allocations: 1.577 MB / 2.625 GB, free: 70.96 MB / 0.9636 GB Notification: Performance of SimCode: time 2.6e-07/4.778, allocations: 0 / 2.625 GB, free: 70.96 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)