Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",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.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 289.8 MB / 297.1 MB, free: 8.941 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.001003/0.001003, allocations: 173.3 kB / 366.3 MB, free: 11.31 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.627/1.627, allocations: 205.1 MB / 0.6256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 86.25 kB / 0.7396 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.6611/0.6625, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.9434, allocations: 116.3 MB / 0.9727 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7898/1.733, allocations: 143.5 MB / 1.113 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.734, allocations: 83.19 kB / 1.113 GB, free: 16.25 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.06929/1.803, allocations: 24.33 MB / 1.137 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.803, allocations: 9.188 kB / 1.137 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/1.804, allocations: 203.4 kB / 1.137 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/1.808, allocations: 1.15 MB / 1.138 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/1.808, allocations: 55.47 kB / 1.138 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/1.809, allocations: 89.44 kB / 1.138 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003186/1.812, allocations: 0.84 MB / 1.139 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/1.816, allocations: 1.097 MB / 1.14 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/1.816, allocations: 0 / 1.14 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/1.816, allocations: 2.781 kB / 1.14 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/1.816, allocations: 33.59 kB / 1.14 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009718/1.826, allocations: 4.286 MB / 1.144 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.827, allocations: 0.7086 MB / 1.145 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/1.828, allocations: 336.8 kB / 1.145 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.217e-05/1.828, allocations: 16.48 kB / 1.145 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008251/1.829, allocations: 430.9 kB / 1.146 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=87): time 7.804e-06/1.829, allocations: 4.688 kB / 1.146 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.001685/1.831, allocations: 0.6392 MB / 1.146 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/1.831, allocations: 245.2 kB / 1.147 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/1.833, allocations: 0.7791 MB / 1.147 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/1.833, allocations: 49.97 kB / 1.147 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/1.833, allocations: 0.5689 MB / 1.148 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/1.834, allocations: 265.3 kB / 1.148 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/1.834, allocations: 1.969 kB / 1.148 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.834, allocations: 352.4 kB / 1.148 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/1.835, allocations: 298.2 kB / 1.149 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009122/1.836, allocations: 0.629 MB / 1.149 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/1.837, allocations: 361.4 kB / 1.15 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/1.837, allocations: 2.812 kB / 1.15 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002511/1.839, allocations: 0.9805 MB / 1.151 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006093/1.84, allocations: 2.81 MB / 1.153 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.84, allocations: 7.969 kB / 1.153 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-05/1.84, allocations: 17.19 kB / 1.153 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/1.841, allocations: 236.2 kB / 1.154 GB, free: 476 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/1.841, allocations: 12 kB / 1.154 GB, free: 464 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.842, allocations: 198.9 kB / 1.154 GB, free: 264 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.842, allocations: 49.36 kB / 1.154 GB, free: 224 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/1.842, allocations: 7.938 kB / 1.154 GB, free: 216 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001557/1.844, allocations: 0.7831 MB / 1.155 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.844, allocations: 11.91 kB / 1.155 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.844, allocations: 12 kB / 1.155 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/1.845, allocations: 211 kB / 1.155 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.845, allocations: 15.94 kB / 1.155 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.846, allocations: 143.3 kB / 1.155 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.846, allocations: 62.41 kB / 1.155 GB, free: 15.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * 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.000378/1.846, allocations: 155.5 kB / 1.155 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/1.847, allocations: 122.4 kB / 1.155 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/1.849, allocations: 0.6931 MB / 1.156 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.849, allocations: 12 kB / 1.156 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.849, allocations: 0 / 1.156 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.849, allocations: 7.922 kB / 1.156 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/1.854, allocations: 2.187 MB / 1.158 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.854, allocations: 0 / 1.158 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/1.854, allocations: 164 kB / 1.158 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.45e-05/1.855, allocations: 11.98 kB / 1.158 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/1.855, allocations: 15.92 kB / 1.158 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/1.855, allocations: 7.938 kB / 1.158 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.855, allocations: 4 kB / 1.158 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002197/1.857, allocations: 1.523 MB / 1.16 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002683/1.86, allocations: 2.251 MB / 1.162 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/1.86, allocations: 202.5 kB / 1.162 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.86, allocations: 18.75 kB / 1.162 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009605/1.861, allocations: 79.92 kB / 1.162 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.862, allocations: 89.83 kB / 1.162 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/1.862, allocations: 34.78 kB / 1.162 GB, free: 9.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001062/1.863, allocations: 0.56 MB / 1.163 GB, free: 8.762 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003558/1.866, allocations: 469.5 kB / 1.163 GB, free: 8.305 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003899/1.867, allocations: 150.9 kB / 1.164 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002722/1.869, allocations: 1.301 MB / 1.165 GB, free: 7.254 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.869, allocations: 4.562 kB / 1.165 GB, free: 7.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/1.87, allocations: 341.4 kB / 1.165 GB, free: 7.023 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.872, allocations: 215.7 kB / 1.165 GB, free: 6.863 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/1.877, allocations: 1.75 MB / 1.167 GB, free: 5.246 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.878, allocations: 1.346 MB / 1.168 GB, free: 3.879 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.878, allocations: 0 / 1.168 GB, free: 3.879 MB / 0.698 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)