Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.388/1.388, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001066/0.001066, allocations: 187.5 kB / 361.1 MB, free: 7.098 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.231/1.231, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009141/0.0009144, allocations: 93.41 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2367/0.2377, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.7704, allocations: 115.3 MB / 0.9638 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.9254, allocations: 142.5 MB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.9257, allocations: 81.11 kB / 1.103 GB, free: 13.45 MB / 0.7136 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.06235/0.988, allocations: 24.33 MB / 1.127 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9881, allocations: 12.48 kB / 1.127 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006666/0.9888, allocations: 201.6 kB / 1.127 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.9916, allocations: 1.157 MB / 1.128 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.9917, allocations: 47 kB / 1.128 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.992, allocations: 88 kB / 1.128 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00206/0.9941, allocations: 0.8452 MB / 1.129 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.9963, allocations: 1.094 MB / 1.13 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.9963, allocations: 0 / 1.13 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.9964, allocations: 0 / 1.13 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.9965, allocations: 43.92 kB / 1.13 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007446/1.004, allocations: 4.274 MB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/1.005, allocations: 0.7249 MB / 1.135 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/1.006, allocations: 327.5 kB / 1.135 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/1.006, allocations: 15.98 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/1.006, allocations: 433.3 kB / 1.136 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 2.805e-06/1.006, allocations: 0 / 1.136 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001154/1.008, allocations: 0.6382 MB / 1.136 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.008, allocations: 243.5 kB / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/1.009, allocations: 0.7773 MB / 1.137 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.009, allocations: 49.69 kB / 1.137 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/1.009, allocations: 0.5613 MB / 1.138 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/1.01, allocations: 272.2 kB / 1.138 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/1.01, allocations: 4 kB / 1.138 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.01, allocations: 345.8 kB / 1.139 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/1.01, allocations: 298.6 kB / 1.139 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/1.011, allocations: 0.6344 MB / 1.14 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/1.012, allocations: 357.6 kB / 1.14 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.012, allocations: 4 kB / 1.14 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001699/1.014, allocations: 0.9753 MB / 1.141 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008898/1.014, allocations: 2.817 MB / 1.144 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.014, allocations: 4 kB / 1.144 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.014, allocations: 16 kB / 1.144 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/1.015, allocations: 235.6 kB / 1.144 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.015, allocations: 15.94 kB / 1.144 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/1.016, allocations: 198.9 kB / 1.144 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/1.016, allocations: 51.91 kB / 1.144 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/1.016, allocations: 4 kB / 1.144 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/1.018, allocations: 0.7858 MB / 1.145 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/1.018, allocations: 8.875 kB / 1.145 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.018, allocations: 12 kB / 1.145 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/1.019, allocations: 211.6 kB / 1.145 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.019, allocations: 15.94 kB / 1.145 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/1.02, allocations: 152.1 kB / 1.145 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.02, allocations: 47.98 kB / 1.145 GB, free: 1.605 MB / 0.7448 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.0002531/1.02, allocations: 148.2 kB / 1.145 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.02, allocations: 123.4 kB / 1.146 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/1.022, allocations: 0.6964 MB / 1.146 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.022, allocations: 15.98 kB / 1.146 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.022, allocations: 0 / 1.146 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.022, allocations: 3.984 kB / 1.146 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.025, allocations: 2.184 MB / 1.148 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.025, allocations: 8.062 kB / 1.148 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/1.026, allocations: 171.7 kB / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/1.026, allocations: 8 kB / 1.149 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/1.026, allocations: 11.98 kB / 1.149 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.026, allocations: 7.375 kB / 1.149 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.026, allocations: 4 kB / 1.149 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001799/1.028, allocations: 1.528 MB / 1.15 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002329/1.03, allocations: 2.242 MB / 1.152 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/1.03, allocations: 207.3 kB / 1.152 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.03, allocations: 16 kB / 1.152 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/1.031, allocations: 83.86 kB / 1.153 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.031, allocations: 87.77 kB / 1.153 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/1.031, allocations: 27.98 kB / 1.153 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0007292/1.032, allocations: 0.5602 MB / 1.153 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002578/1.035, allocations: 469.7 kB / 1.154 GB, free: 8.723 MB / 0.7605 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.0002699/1.035, allocations: 156.8 kB / 1.154 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001999/1.037, allocations: 1.314 MB / 1.155 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.037, allocations: 0 / 1.155 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/1.038, allocations: 331.7 kB / 1.155 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.039, allocations: 218.4 kB / 1.156 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/1.042, allocations: 1.758 MB / 1.157 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.044, allocations: 1.336 MB / 1.159 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/1.044, allocations: 0 / 1.159 GB, free: 3.516 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)