Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.092/2.092, allocations: 248.6 MB / 255.9 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 188.2 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 93.73 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4657/0.4669, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.6987, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6728/1.372, allocations: 138.2 MB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.372, allocations: 90.67 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.1211/1.493, allocations: 27.57 MB / 1.045 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/1.493, allocations: 8 kB / 1.045 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.494, allocations: 217.4 kB / 1.046 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/1.499, allocations: 1.246 MB / 1.047 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/1.499, allocations: 48 kB / 1.047 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/1.5, allocations: 99.92 kB / 1.047 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003394/1.503, allocations: 0.8728 MB / 1.048 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/1.507, allocations: 1.157 MB / 1.049 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.455e-05/1.507, allocations: 0 / 1.049 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/1.507, allocations: 0 / 1.049 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/1.507, allocations: 36 kB / 1.049 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/1.52, allocations: 4.42 MB / 1.053 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/1.523, allocations: 0.7211 MB / 1.054 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000975/1.524, allocations: 314 kB / 1.054 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.524, allocations: 15.88 kB / 1.054 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/1.525, allocations: 428.9 kB / 1.055 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=85): time 4.379e-06/1.525, allocations: 0 / 1.055 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85): time 0.00209/1.527, allocations: 0.6237 MB / 1.055 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/1.527, allocations: 247.3 kB / 1.056 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/1.529, allocations: 0.8283 MB / 1.056 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003039/1.53, allocations: 36.52 kB / 1.056 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/1.531, allocations: 0.618 MB / 1.057 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/1.531, allocations: 260 kB / 1.057 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/1.531, allocations: 0 / 1.057 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.531, allocations: 351.4 kB / 1.058 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009111/1.532, allocations: 267.9 kB / 1.058 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/1.533, allocations: 0.603 MB / 1.058 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/1.535, allocations: 319.6 kB / 1.059 GB, free: 348 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.623e-05/1.535, allocations: 0 / 1.059 GB, free: 348 kB / 0.6667 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003709/1.539, allocations: 0.9073 MB / 1.06 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001424/1.54, allocations: 2.732 MB / 1.062 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-05/1.54, allocations: 8 kB / 1.062 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.022e-05/1.54, allocations: 12 kB / 1.062 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/1.543, allocations: 238.1 kB / 1.063 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-05/1.544, allocations: 19.92 kB / 1.063 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/1.547, allocations: 167 kB / 1.063 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/1.547, allocations: 43 kB / 1.063 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.547, allocations: 1.719 kB / 1.063 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003618/1.551, allocations: 0.711 MB / 1.064 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/1.551, allocations: 8 kB / 1.064 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-05/1.551, allocations: 12 kB / 1.064 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/1.554, allocations: 207.7 kB / 1.064 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.682e-05/1.554, allocations: 19.97 kB / 1.064 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.556, allocations: 127 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/1.556, allocations: 38.56 kB / 1.064 GB, free: 11.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,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.pulseStart,uSupFan.pulseStart,$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): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.0005993/1.557, allocations: 154.6 kB / 1.064 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/1.557, allocations: 126.4 kB / 1.064 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/1.561, allocations: 0.6825 MB / 1.065 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.561, allocations: 8 kB / 1.065 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.562, allocations: 0 / 1.065 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.562, allocations: 7.984 kB / 1.065 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/1.567, allocations: 2.172 MB / 1.067 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.567, allocations: 0 / 1.067 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.568, allocations: 170.5 kB / 1.067 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/1.568, allocations: 4 kB / 1.067 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/1.568, allocations: 15.23 kB / 1.067 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.568, allocations: 4 kB / 1.067 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.568, allocations: 4 kB / 1.067 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002985/1.571, allocations: 1.462 MB / 1.069 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004136/1.576, allocations: 2.183 MB / 1.071 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/1.576, allocations: 208.7 kB / 1.071 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/1.576, allocations: 13.88 kB / 1.071 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.578, allocations: 83.92 kB / 1.071 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.579, allocations: 97.98 kB / 1.071 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.579, allocations: 34.05 kB / 1.071 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002108/1.581, allocations: 0.5883 MB / 1.072 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007167/1.589, allocations: 476.5 kB / 1.072 GB, free: 4.602 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * 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 (87): * Single equations (assignments): 86 * 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.0006528/1.589, allocations: 142.8 kB / 1.072 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004738/1.594, allocations: 1.169 MB / 1.073 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.594, allocations: 3.938 kB / 1.073 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.595, allocations: 327.6 kB / 1.074 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.598, allocations: 259.7 kB / 1.074 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005902/1.603, allocations: 1.786 MB / 1.076 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/1.605, allocations: 1.39 MB / 1.077 GB, free: 192 kB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/1.605, allocations: 0 / 1.077 GB, free: 192 kB / 0.6823 GB