Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") [: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.1-maint.8.0.x/package.mo): time 1.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009796/0.0009796, allocations: 179.6 kB / 361.1 MB, free: 7.113 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.023/1.023, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007642/0.0007642, allocations: 93.67 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.967e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4176, allocations: 115.3 MB / 0.9637 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.5486, allocations: 136.8 MB / 1.097 GB, free: 3.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/0.5488, allocations: 72.56 kB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001439/0.5503, allocations: 361.4 kB / 1.098 GB, free: 2.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5503, allocations: 0.7188 kB / 1.098 GB, free: 2.949 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002913/0.5506, allocations: 334.2 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5507, allocations: 8.031 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.5507, allocations: 3.906 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5508, allocations: 164.2 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.5508, allocations: 0.5 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.5508, allocations: 0.5 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.688e-05/0.5509, allocations: 17.14 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.551, allocations: 37.64 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.551, allocations: 0 / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.551, allocations: 6.094 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.551, allocations: 0 / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.5513, allocations: 248.7 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.5514, allocations: 29.69 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.5514, allocations: 13.45 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5515, allocations: 1.188 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5515, allocations: 41.59 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 4.579e-06/0.5515, allocations: 0 / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001327/0.5516, allocations: 41.64 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.5517, allocations: 52 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.5517, allocations: 95.81 kB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.5517, allocations: 25.7 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.5518, allocations: 88.14 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.5518, allocations: 4.469 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.5518, allocations: 0 / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.5519, allocations: 312.5 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.5519, allocations: 8 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.5519, allocations: 4 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.645e-05/0.552, allocations: 4.609 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.552, allocations: 4.094 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.202e-05/0.552, allocations: 49.55 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5521, allocations: 4 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.5521, allocations: 3.938 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.5521, allocations: 0 / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.5522, allocations: 11.98 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5522, allocations: 4 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.5523, allocations: 12.02 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5523, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.172e-05/0.5523, allocations: 108.9 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.5524, allocations: 0 / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.5525, allocations: 49 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5525, allocations: 0 / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5525, allocations: 4.031 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5525, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.5526, allocations: 134.1 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5526, allocations: 4 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.5527, allocations: 17.3 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5527, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.5527, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5527, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5527, allocations: 4 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.833e-05/0.5528, allocations: 143.5 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.5529, allocations: 77.95 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.5529, allocations: 0 / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.553, allocations: 11.98 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.553, allocations: 4.031 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.553, allocations: 3 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.178e-05/0.5531, allocations: 83.19 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001935/0.5533, allocations: 4 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001016/0.5534, allocations: 103 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.316e-05/0.5534, allocations: 19.92 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.5534, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.5535, allocations: 12.06 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.5536, allocations: 2.734 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.5538, allocations: 59.36 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.5541, allocations: 0.6934 MB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.5541, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.001777/0.5558, allocations: 399.9 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)