Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_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 9.1.1-maint.9.1.x/package.mo): time 1.975/1.975, allocations: 387.2 MB / 394.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 180.6 kB / 487 MB, free: 5.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 97.91 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5201/0.5211, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.7374, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8659/1.603, allocations: 400.7 MB / 1.597 GB, free: 6.328 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.604, allocations: 85.88 kB / 1.597 GB, free: 6.281 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 1.966/3.57, allocations: 0.5786 GB / 2.175 GB, free: 269.1 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/3.57, allocations: 7.656 kB / 2.175 GB, free: 269.1 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/3.573, allocations: 0.5378 MB / 2.176 GB, free: 269.1 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/3.587, allocations: 7.263 MB / 2.183 GB, free: 268.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/3.587, allocations: 15.81 kB / 2.183 GB, free: 268.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/3.587, allocations: 35.22 kB / 2.183 GB, free: 268.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008171/3.588, allocations: 482 kB / 2.183 GB, free: 268.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/3.589, allocations: 0.623 MB / 2.184 GB, free: 268.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/3.589, allocations: 8.359 kB / 2.184 GB, free: 268.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/3.589, allocations: 3.469 kB / 2.184 GB, free: 268.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/3.589, allocations: 27.34 kB / 2.184 GB, free: 268.4 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/3.593, allocations: 4.565 MB / 2.189 GB, free: 265.6 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/3.594, allocations: 376.3 kB / 2.189 GB, free: 265.6 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/3.594, allocations: 223 kB / 2.189 GB, free: 265.6 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/3.595, allocations: 0.9423 MB / 2.19 GB, free: 264.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/3.595, allocations: 30.56 kB / 2.19 GB, free: 264.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/3.595, allocations: 0 / 2.19 GB, free: 264.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=35): time 0.001014/3.596, allocations: 0.4905 MB / 2.191 GB, free: 264.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/3.596, allocations: 57.44 kB / 2.191 GB, free: 264.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/3.596, allocations: 0.5335 MB / 2.191 GB, free: 264.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/3.596, allocations: 28.89 kB / 2.191 GB, free: 264.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/3.597, allocations: 320.3 kB / 2.191 GB, free: 264.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/3.597, allocations: 123.4 kB / 2.192 GB, free: 264 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/3.597, allocations: 0 / 2.192 GB, free: 264 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/3.597, allocations: 322.9 kB / 2.192 GB, free: 263.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/3.597, allocations: 181.9 kB / 2.192 GB, free: 263.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/3.597, allocations: 358.2 kB / 2.192 GB, free: 263.5 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/3.598, allocations: 242.4 kB / 2.193 GB, free: 263.5 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/3.598, allocations: 6.062 kB / 2.193 GB, free: 263.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009984/3.599, allocations: 0.5852 MB / 2.193 GB, free: 263.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.000237/3.599, allocations: 1.657 MB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/3.599, allocations: 3.781 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/3.599, allocations: 9.812 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/3.6, allocations: 202 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/3.6, allocations: 11.78 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009609/3.601, allocations: 164.6 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/3.601, allocations: 29.52 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/3.601, allocations: 6.594 kB / 2.195 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009016/3.602, allocations: 496 kB / 2.196 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/3.602, allocations: 11.08 kB / 2.196 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.231e-06/3.602, allocations: 9.969 kB / 2.196 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/3.603, allocations: 194.3 kB / 2.196 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/3.603, allocations: 11.22 kB / 2.196 GB, free: 261.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/3.604, allocations: 157.2 kB / 2.196 GB, free: 261.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/3.604, allocations: 32.02 kB / 2.196 GB, free: 261.6 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001132/3.604, allocations: 118.8 kB / 2.196 GB, free: 261.5 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/3.604, allocations: 74.44 kB / 2.196 GB, free: 261.5 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/3.605, allocations: 0.7162 MB / 2.197 GB, free: 261.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/3.605, allocations: 3.062 kB / 2.197 GB, free: 261.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/3.605, allocations: 2.688 kB / 2.197 GB, free: 261.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/3.605, allocations: 6.75 kB / 2.197 GB, free: 261.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/3.608, allocations: 1.473 MB / 2.198 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/3.608, allocations: 0 / 2.198 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/3.609, allocations: 162.5 kB / 2.199 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/3.609, allocations: 10.97 kB / 2.199 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/3.609, allocations: 8.234 kB / 2.199 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/3.609, allocations: 3.281 kB / 2.199 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/3.609, allocations: 0 / 2.199 GB, free: 261.1 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001364/3.61, allocations: 1.045 MB / 2.2 GB, free: 260.9 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001873/3.612, allocations: 1.783 MB / 2.201 GB, free: 260.2 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/3.612, allocations: 215.6 kB / 2.202 GB, free: 260.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/3.612, allocations: 7.641 kB / 2.202 GB, free: 260.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/3.613, allocations: 123.3 kB / 2.202 GB, free: 260.1 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/3.613, allocations: 30.75 kB / 2.202 GB, free: 260.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/3.613, allocations: 24.7 kB / 2.202 GB, free: 260.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003891/3.614, allocations: 424.1 kB / 2.202 GB, free: 260 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002536/3.616, allocations: 0.5561 MB / 2.203 GB, free: 260 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0007678/3.617, allocations: 0.5074 MB / 2.203 GB, free: 259.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001077/3.618, allocations: 0.7788 MB / 2.204 GB, free: 259.9 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/3.618, allocations: 0 / 2.204 GB, free: 259.9 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/3.618, allocations: 274.1 kB / 2.204 GB, free: 259.9 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/3.62, allocations: 290 kB / 2.204 GB, free: 259.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/3.625, allocations: 1.72 MB / 2.206 GB, free: 259.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/3.626, allocations: 1.08 MB / 2.207 GB, free: 258.8 MB / 1.135 GB Notification: Performance of SimCode: time 3.01e-07/3.626, allocations: 0 / 2.207 GB, free: 258.8 MB / 1.135 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)