Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") [: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.1.4-maint.8.1.x/package.mo): time 1.333/1.333, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009324/0.0009324, allocations: 173.3 kB / 366.3 MB, free: 2.016 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.036/1.036, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0007807/0.0007806, allocations: 91.14 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.326e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5189, allocations: 116.3 MB / 0.9726 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.6698, allocations: 137.6 MB / 1.107 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.6701, allocations: 72.94 kB / 1.107 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001166/0.6713, allocations: 231.9 kB / 1.107 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.6713, allocations: 0 / 1.107 GB, free: 10.67 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003124/0.6716, allocations: 326.5 kB / 1.108 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6717, allocations: 8.031 kB / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.6717, allocations: 0 / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.6719, allocations: 182.9 kB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6719, allocations: 0 / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.6719, allocations: 0 / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.763e-05/0.672, allocations: 11.94 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.865e-05/0.672, allocations: 34.45 kB / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.672, allocations: 0 / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.672, allocations: 0 / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6721, allocations: 0 / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.6722, allocations: 134.1 kB / 1.108 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.6722, allocations: 18.61 kB / 1.108 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.6723, allocations: 12.92 kB / 1.108 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.6723, allocations: 4 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6723, allocations: 31.12 kB / 1.108 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.6723, allocations: 0 / 1.108 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.6725, allocations: 37.62 kB / 1.108 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.6725, allocations: 55.41 kB / 1.108 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.6726, allocations: 93 kB / 1.108 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.6726, allocations: 25.7 kB / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.6727, allocations: 80.89 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.6727, allocations: 7.938 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.6727, allocations: 0 / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.6728, allocations: 318.8 kB / 1.109 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.6728, allocations: 4 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.6728, allocations: 0 / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.349e-05/0.6728, allocations: 4 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6729, allocations: 0 / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.885e-05/0.6729, allocations: 42.17 kB / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.673, allocations: 12.03 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.673, allocations: 0 / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.673, allocations: 3.938 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.6731, allocations: 11.98 kB / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6731, allocations: 0 / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.6731, allocations: 12.56 kB / 1.109 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6732, allocations: 0 / 1.109 GB, free: 9.035 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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 6.268e-05/0.6732, allocations: 105 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.6732, allocations: 7.906 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.6733, allocations: 3.156 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6733, allocations: 0 / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6733, allocations: 0.9375 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6733, allocations: 192 / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.023e-05/0.6734, allocations: 134.2 kB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6734, allocations: 3.984 kB / 1.109 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.6735, allocations: 15.98 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6735, allocations: 0 / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.6735, allocations: 3.906 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6735, allocations: 0 / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6735, allocations: 0 / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.713e-05/0.6736, allocations: 65.08 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.6736, allocations: 86.41 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.6736, allocations: 0 / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.6737, allocations: 12 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.6737, allocations: 3.984 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6738, allocations: 4 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.231e-05/0.6738, allocations: 79.28 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001626/0.674, allocations: 8.031 kB / 1.109 GB, free: 8.43 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001336/0.6741, allocations: 95.25 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.257e-05/0.6742, allocations: 12 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6742, allocations: 0 / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.6742, allocations: 4 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.6744, allocations: 6.203 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.6746, allocations: 67.89 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.6748, allocations: 0.6841 MB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.6748, allocations: 3.938 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of Templates: time 0.001988/0.6768, allocations: 369.2 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)