Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.348/4.348, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.562/4.91, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/5.152, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/5.438, allocations: 131.2 MB / 0.7565 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/5.439, allocations: 95.52 kB / 0.7566 GB, free: 6.262 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: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.5115/5.95, allocations: 27.15 MB / 0.7831 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/5.95, allocations: 7.062 kB / 0.7831 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/5.951, allocations: 205.4 kB / 0.7833 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/5.956, allocations: 1.323 MB / 0.7846 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/5.956, allocations: 42.19 kB / 0.7846 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/5.957, allocations: 77.88 kB / 0.7847 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002752/5.959, allocations: 0.7849 MB / 0.7854 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/5.962, allocations: 1.045 MB / 0.7865 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/5.963, allocations: 0 / 0.7865 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/5.963, allocations: 3.438 kB / 0.7865 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/5.963, allocations: 29.78 kB / 0.7865 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/5.975, allocations: 3.656 MB / 0.7901 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/5.977, allocations: 0.6265 MB / 0.7907 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/5.978, allocations: 259.5 kB / 0.7909 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.744e-05/5.978, allocations: 17.89 kB / 0.7909 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/5.979, allocations: 419.1 kB / 0.7913 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 4.278e-06/5.979, allocations: 0 / 0.7913 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.002967/5.982, allocations: 0.6218 MB / 0.792 GB, free: 129 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/5.982, allocations: 362.4 kB / 0.7923 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002889/5.985, allocations: 0.8271 MB / 0.7931 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/5.985, allocations: 37.77 kB / 0.7931 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007272/5.986, allocations: 0.5284 MB / 0.7937 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005245/5.987, allocations: 245.6 kB / 0.7939 GB, free: 128 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/5.987, allocations: 3.75 kB / 0.7939 GB, free: 128 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001542/5.987, allocations: 347.1 kB / 0.7942 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/5.988, allocations: 264.1 kB / 0.7945 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/5.99, allocations: 0.6025 MB / 0.7951 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/5.991, allocations: 300 kB / 0.7954 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/5.991, allocations: 0 / 0.7954 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003329/5.994, allocations: 0.8738 MB / 0.7962 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006973/5.995, allocations: 2.752 MB / 0.7989 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/5.995, allocations: 7.875 kB / 0.7989 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.415e-05/5.995, allocations: 22.69 kB / 0.7989 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/5.998, allocations: 217.3 kB / 0.7991 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/5.998, allocations: 19.03 kB / 0.7992 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/6, allocations: 137.2 kB / 0.7993 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/6, allocations: 41.34 kB / 0.7993 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/6, allocations: 3.688 kB / 0.7993 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002867/6.003, allocations: 0.6786 MB / 0.8 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/6.003, allocations: 9.031 kB / 0.8 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.391e-05/6.003, allocations: 12.78 kB / 0.8 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/6.005, allocations: 191.6 kB / 0.8002 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/6.006, allocations: 15.75 kB / 0.8002 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/6.008, allocations: 98.09 kB / 0.8003 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/6.008, allocations: 38.69 kB / 0.8003 GB, free: 124.1 MB / 0.6511 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,$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,$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,$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,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 130 * 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.0005397/6.009, allocations: 155.1 kB / 0.8005 GB, free: 124 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/6.009, allocations: 137.7 kB / 0.8006 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/6.013, allocations: 0.6943 MB / 0.8013 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/6.013, allocations: 7.719 kB / 0.8013 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/6.013, allocations: 1.438 kB / 0.8013 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/6.013, allocations: 4.531 kB / 0.8013 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/6.019, allocations: 2.099 MB / 0.8034 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/6.02, allocations: 2.562 kB / 0.8034 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/6.021, allocations: 155.7 kB / 0.8035 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/6.022, allocations: 4.594 kB / 0.8035 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/6.022, allocations: 14.84 kB / 0.8035 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/6.022, allocations: 12.94 kB / 0.8035 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/6.022, allocations: 5.344 kB / 0.8035 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004257/6.026, allocations: 1.427 MB / 0.8049 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005515/6.032, allocations: 2.164 MB / 0.8071 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/6.033, allocations: 289.4 kB / 0.8073 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/6.033, allocations: 15.34 kB / 0.8073 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/6.035, allocations: 93.56 kB / 0.8074 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/6.036, allocations: 84.67 kB / 0.8075 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/6.036, allocations: 26.16 kB / 0.8075 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001881/6.038, allocations: 0.6043 MB / 0.8081 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006896/6.045, allocations: 428.2 kB / 0.8085 GB, free: 120.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (83): * Single equations (assignments): 82 * 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.0005011/6.045, allocations: 149.3 kB / 0.8087 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004449/6.05, allocations: 1.135 MB / 0.8098 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/6.05, allocations: 1.062 kB / 0.8098 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/6.051, allocations: 313.6 kB / 0.8101 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/6.055, allocations: 305 kB / 0.8104 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/6.063, allocations: 1.7 MB / 0.812 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003086/6.066, allocations: 1.343 MB / 0.8133 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of SimCode: time 5.2e-06/6.066, allocations: 0 / 0.8133 GB, free: 118.1 MB / 0.6511 GB