Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.92/1.92, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001182/0.001182, allocations: 181.2 kB / 490.8 MB, free: 1.953 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.232/1.232, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 94.34 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4803/0.4813, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.6874, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5477/1.235, allocations: 154.8 MB / 1.363 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.235, allocations: 86.77 kB / 1.363 GB, free: 17.08 MB / 0.823 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.05605/1.291, allocations: 24.05 MB / 1.386 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.291, allocations: 9.25 kB / 1.386 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/1.292, allocations: 201.2 kB / 1.387 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.294, allocations: 1.139 MB / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/1.294, allocations: 45 kB / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/1.294, allocations: 94.38 kB / 1.388 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/1.296, allocations: 0.8228 MB / 1.389 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/1.297, allocations: 1.08 MB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.298, allocations: 0.9375 kB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/1.298, allocations: 5.516 kB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/1.298, allocations: 34 kB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005998/1.304, allocations: 4.208 MB / 1.394 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/1.305, allocations: 0.6801 MB / 1.394 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/1.305, allocations: 343.1 kB / 1.395 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/1.305, allocations: 16.69 kB / 1.395 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/1.306, allocations: 416.9 kB / 1.395 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/1.306, allocations: 0 / 1.395 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.001042/1.307, allocations: 0.6151 MB / 1.396 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.307, allocations: 248.3 kB / 1.396 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/1.308, allocations: 0.7446 MB / 1.397 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/1.308, allocations: 44.78 kB / 1.397 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/1.308, allocations: 0.5688 MB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.309, allocations: 266.5 kB / 1.398 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/1.309, allocations: 1.312 kB / 1.398 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.309, allocations: 349 kB / 1.398 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/1.309, allocations: 297 kB / 1.398 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/1.31, allocations: 0.6248 MB / 1.399 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/1.311, allocations: 356 kB / 1.399 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.311, allocations: 2.062 kB / 1.399 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001596/1.312, allocations: 0.944 MB / 1.4 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009212/1.313, allocations: 2.8 MB / 1.403 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.313, allocations: 15.22 kB / 1.403 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/1.313, allocations: 13.38 kB / 1.403 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/1.314, allocations: 240.9 kB / 1.403 GB, free: 18.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/1.314, allocations: 13.22 kB / 1.403 GB, free: 18.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/1.315, allocations: 194.4 kB / 1.403 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/1.315, allocations: 54.66 kB / 1.403 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/1.315, allocations: 3.469 kB / 1.403 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/1.317, allocations: 0.7705 MB / 1.404 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.317, allocations: 6.469 kB / 1.404 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.317, allocations: 13.56 kB / 1.404 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/1.317, allocations: 209.1 kB / 1.404 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.317, allocations: 16.09 kB / 1.404 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/1.318, allocations: 148.5 kB / 1.405 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/1.318, allocations: 49.48 kB / 1.405 GB, free: 18.32 MB / 0.8386 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.0002324/1.319, allocations: 149.1 kB / 1.405 GB, free: 18.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/1.319, allocations: 118 kB / 1.405 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.32, allocations: 0.6692 MB / 1.405 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.32, allocations: 9.906 kB / 1.405 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.32, allocations: 1.125 kB / 1.405 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.32, allocations: 4.828 kB / 1.405 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/1.323, allocations: 2.122 MB / 1.408 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.323, allocations: 6.906 kB / 1.408 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/1.324, allocations: 168.3 kB / 1.408 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/1.324, allocations: 10.19 kB / 1.408 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/1.324, allocations: 14.55 kB / 1.408 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/1.324, allocations: 9.719 kB / 1.408 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.324, allocations: 7.359 kB / 1.408 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001836/1.325, allocations: 1.468 MB / 1.409 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001862/1.327, allocations: 2.196 MB / 1.411 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/1.328, allocations: 197.8 kB / 1.412 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.328, allocations: 14.88 kB / 1.412 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/1.328, allocations: 79.92 kB / 1.412 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.329, allocations: 89.19 kB / 1.412 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/1.329, allocations: 30.3 kB / 1.412 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005944/1.329, allocations: 0.5348 MB / 1.412 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002541/1.332, allocations: 464.5 kB / 1.413 GB, free: 13.18 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.0002165/1.332, allocations: 151.5 kB / 1.413 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.334, allocations: 1.28 MB / 1.414 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.334, allocations: 0 / 1.414 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/1.334, allocations: 324.4 kB / 1.414 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/1.335, allocations: 220.2 kB / 1.415 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/1.338, allocations: 1.711 MB / 1.416 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.339, allocations: 1.326 MB / 1.418 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of SimCode: time 1.743e-06/1.339, allocations: 4 kB / 1.418 GB, free: 8.824 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)