Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.906/1.906, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001016/0.001016, allocations: 177.3 kB / 487 MB, free: 5.32 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.227/1.227, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0009429/0.0009428, allocations: 98.38 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5004/0.5014, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.7256, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6089/1.335, allocations: 154 MB / 1.356 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.335, allocations: 83.03 kB / 1.356 GB, free: 15.84 MB / 0.8073 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.05792/1.393, allocations: 24.04 MB / 1.379 GB, free: 15.83 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.393, allocations: 8 kB / 1.379 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/1.393, allocations: 201.6 kB / 1.379 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/1.396, allocations: 1.133 MB / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/1.396, allocations: 55.25 kB / 1.381 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/1.396, allocations: 91.91 kB / 1.381 GB, free: 14.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001831/1.398, allocations: 0.8228 MB / 1.381 GB, free: 14.07 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/1.4, allocations: 1.078 MB / 1.383 GB, free: 13.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.4, allocations: 0 / 1.383 GB, free: 13.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.401, allocations: 7.984 kB / 1.383 GB, free: 13.26 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/1.401, allocations: 32 kB / 1.383 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007199/1.408, allocations: 4.218 MB / 1.387 GB, free: 10.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/1.409, allocations: 0.6739 MB / 1.387 GB, free: 9.629 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/1.41, allocations: 352.5 kB / 1.388 GB, free: 9.406 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/1.41, allocations: 11.98 kB / 1.388 GB, free: 9.395 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/1.41, allocations: 414.6 kB / 1.388 GB, free: 9.086 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 4.177e-06/1.41, allocations: 0 / 1.388 GB, free: 9.086 MB / 0.823 GB Notification: Performance of matching and sorting (n=87): time 0.00118/1.412, allocations: 0.6187 MB / 1.389 GB, free: 8.621 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.412, allocations: 247.5 kB / 1.389 GB, free: 8.324 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.413, allocations: 0.7489 MB / 1.39 GB, free: 7.762 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.413, allocations: 40.89 kB / 1.39 GB, free: 7.723 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/1.413, allocations: 0.5655 MB / 1.39 GB, free: 7.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.414, allocations: 270 kB / 1.391 GB, free: 7.004 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/1.414, allocations: 0 / 1.391 GB, free: 7.004 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.414, allocations: 344.1 kB / 1.391 GB, free: 6.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/1.414, allocations: 299.2 kB / 1.391 GB, free: 6.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/1.415, allocations: 0.6273 MB / 1.392 GB, free: 5.895 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/1.416, allocations: 351.3 kB / 1.392 GB, free: 5.676 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.416, allocations: 0 / 1.392 GB, free: 5.676 MB / 0.823 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00163/1.417, allocations: 0.9543 MB / 1.393 GB, free: 4.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001115/1.419, allocations: 2.803 MB / 1.396 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.419, allocations: 8 kB / 1.396 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.419, allocations: 16 kB / 1.396 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/1.42, allocations: 241.8 kB / 1.396 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/1.42, allocations: 15.94 kB / 1.396 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009803/1.421, allocations: 191 kB / 1.396 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/1.421, allocations: 45.5 kB / 1.396 GB, free: 1.496 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/1.421, allocations: 7.938 kB / 1.396 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/1.422, allocations: 0.7705 MB / 1.397 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.422, allocations: 8 kB / 1.397 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.422, allocations: 12 kB / 1.397 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/1.423, allocations: 204.7 kB / 1.397 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.423, allocations: 19.94 kB / 1.397 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/1.424, allocations: 147.7 kB / 1.397 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.424, allocations: 49.48 kB / 1.397 GB, free: 0.5195 MB / 0.823 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.0002314/1.424, allocations: 153.3 kB / 1.398 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.424, allocations: 118.5 kB / 1.398 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.425, allocations: 0.6663 MB / 1.398 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.425, allocations: 16 kB / 1.398 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.425, allocations: 0 / 1.398 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.425, allocations: 3.984 kB / 1.398 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/1.428, allocations: 2.119 MB / 1.4 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.428, allocations: 4 kB / 1.4 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/1.429, allocations: 166.5 kB / 1.401 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.429, allocations: 8 kB / 1.401 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/1.429, allocations: 19.17 kB / 1.401 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.429, allocations: 7.984 kB / 1.401 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.429, allocations: 4 kB / 1.401 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001594/1.431, allocations: 1.472 MB / 1.402 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002099/1.433, allocations: 2.193 MB / 1.404 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/1.433, allocations: 196 kB / 1.404 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.433, allocations: 25.61 kB / 1.404 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/1.434, allocations: 75.94 kB / 1.404 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.434, allocations: 93.5 kB / 1.405 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/1.434, allocations: 34.73 kB / 1.405 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006523/1.435, allocations: 0.5365 MB / 1.405 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002559/1.438, allocations: 464.5 kB / 1.406 GB, free: 9.711 MB / 0.8386 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.0002553/1.438, allocations: 156 kB / 1.406 GB, free: 9.562 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.44, allocations: 1.286 MB / 1.407 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.44, allocations: 0 / 1.407 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004702/1.44, allocations: 321 kB / 1.407 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.441, allocations: 212 kB / 1.407 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/1.445, allocations: 1.707 MB / 1.409 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.446, allocations: 1.334 MB / 1.41 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.446, allocations: 0 / 1.41 GB, free: 5.355 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)