Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.599/2.599, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001634/0.001634, allocations: 173.3 kB / 360.3 MB, free: 7.535 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.952/1.952, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001217/0.001216, allocations: 94.09 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2901/0.2913, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.9247, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/1.172, allocations: 142.4 MB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.173, allocations: 85.53 kB / 1.102 GB, free: 14.46 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.1048/1.277, allocations: 24.34 MB / 1.126 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.277, allocations: 8.5 kB / 1.126 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/1.278, allocations: 201.6 kB / 1.126 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/1.283, allocations: 1.15 MB / 1.127 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/1.283, allocations: 48 kB / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005957/1.284, allocations: 92 kB / 1.127 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005276/1.289, allocations: 0.8451 MB / 1.128 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00605/1.295, allocations: 1.087 MB / 1.129 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/1.295, allocations: 7.938 kB / 1.129 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.295, allocations: 4 kB / 1.129 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/1.295, allocations: 36 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/1.309, allocations: 4.275 MB / 1.133 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/1.312, allocations: 0.716 MB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/1.313, allocations: 332.8 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/1.313, allocations: 12.75 kB / 1.134 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/1.314, allocations: 425.3 kB / 1.135 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 6.021e-06/1.314, allocations: 4 kB / 1.135 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.002765/1.317, allocations: 0.6383 MB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/1.317, allocations: 243.5 kB / 1.135 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/1.319, allocations: 0.7812 MB / 1.136 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/1.319, allocations: 41.69 kB / 1.136 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/1.32, allocations: 0.5691 MB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/1.32, allocations: 265 kB / 1.137 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/1.32, allocations: 0 / 1.137 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.321, allocations: 357.8 kB / 1.137 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/1.322, allocations: 298.6 kB / 1.138 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.323, allocations: 0.6305 MB / 1.138 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.324, allocations: 357.6 kB / 1.139 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.324, allocations: 4 kB / 1.139 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003155/1.328, allocations: 0.9745 MB / 1.14 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001302/1.329, allocations: 2.815 MB / 1.142 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.329, allocations: 8 kB / 1.142 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-05/1.329, allocations: 16 kB / 1.142 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.331, allocations: 235.6 kB / 1.143 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/1.331, allocations: 20.5 kB / 1.143 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.333, allocations: 198.9 kB / 1.143 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.333, allocations: 51.89 kB / 1.143 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.333, allocations: 4 kB / 1.143 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002746/1.336, allocations: 0.7901 MB / 1.144 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.336, allocations: 6.438 kB / 1.144 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/1.336, allocations: 16 kB / 1.144 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.338, allocations: 204.4 kB / 1.144 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/1.338, allocations: 19.94 kB / 1.144 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.34, allocations: 143.3 kB / 1.144 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.34, allocations: 55.92 kB / 1.144 GB, free: 2.609 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.0004195/1.34, allocations: 162.4 kB / 1.144 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/1.34, allocations: 123.2 kB / 1.144 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/1.343, allocations: 0.6953 MB / 1.145 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.343, allocations: 12 kB / 1.145 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.343, allocations: 0 / 1.145 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.343, allocations: 3.984 kB / 1.145 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/1.348, allocations: 2.188 MB / 1.147 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.348, allocations: 7.984 kB / 1.147 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.35, allocations: 164 kB / 1.147 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/1.35, allocations: 9.031 kB / 1.147 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/1.35, allocations: 15.98 kB / 1.147 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/1.35, allocations: 4 kB / 1.147 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/1.35, allocations: 7.938 kB / 1.147 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003218/1.353, allocations: 1.518 MB / 1.149 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004499/1.358, allocations: 2.257 MB / 1.151 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/1.358, allocations: 203.3 kB / 1.151 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1.359, allocations: 12 kB / 1.151 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.36, allocations: 83.92 kB / 1.151 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/1.36, allocations: 87.95 kB / 1.151 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.361, allocations: 31.97 kB / 1.151 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.00127/1.362, allocations: 0.5575 MB / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004162/1.366, allocations: 473.7 kB / 1.152 GB, free: 9.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.0004262/1.366, allocations: 152.8 kB / 1.153 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003977/1.37, allocations: 1.305 MB / 1.154 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.371, allocations: 0.625 kB / 1.154 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.372, allocations: 343.6 kB / 1.154 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.374, allocations: 216 kB / 1.154 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/1.38, allocations: 1.748 MB / 1.156 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/1.382, allocations: 1.342 MB / 1.157 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of SimCode: time 1.483e-06/1.382, allocations: 0 / 1.157 GB, free: 4.52 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)