Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.StandardTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") [: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.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001033/0.001033, allocations: 181.3 kB / 366.3 MB, free: 1.941 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.136/1.136, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.000798/0.000798, allocations: 79.19 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.616e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4377, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.5692, allocations: 137.3 MB / 1.107 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.5693, allocations: 79.83 kB / 1.107 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0002763/0.5696, allocations: 41.52 kB / 1.107 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5697, allocations: 0 / 1.107 GB, free: 11.16 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.0001694/0.5698, allocations: 310 kB / 1.107 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5699, allocations: 12.02 kB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.5699, allocations: 0.6562 kB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.257e-05/0.57, allocations: 159.1 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.57, allocations: 4.5 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-06/0.57, allocations: 0.5625 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.016e-05/0.57, allocations: 4.656 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.978e-05/0.5701, allocations: 26.23 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.5701, allocations: 4.594 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.5701, allocations: 0 / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-06/0.5701, allocations: 0.625 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.324e-05/0.5702, allocations: 127.6 kB / 1.107 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.348e-05/0.5702, allocations: 22.56 kB / 1.107 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.5703, allocations: 12.95 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5703, allocations: 3.984 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.5703, allocations: 34.47 kB / 1.107 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.5703, allocations: 0 / 1.107 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.148e-05/0.5704, allocations: 29.7 kB / 1.107 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.5704, allocations: 60.97 kB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.432e-05/0.5705, allocations: 85 kB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5705, allocations: 25.7 kB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.5705, allocations: 80.14 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.5705, allocations: 0 / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-06/0.5705, allocations: 0 / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.5706, allocations: 314.8 kB / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.5706, allocations: 0 / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-06/0.5706, allocations: 0 / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.298e-05/0.5706, allocations: 12.05 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5707, allocations: 3.906 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.198e-05/0.5707, allocations: 29.7 kB / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.5707, allocations: 8 kB / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.5707, allocations: 0 / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.5707, allocations: 0 / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.5708, allocations: 3.938 kB / 1.108 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.5708, allocations: 0 / 1.108 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.5708, allocations: 8.656 kB / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.5708, allocations: 0 / 1.108 GB, free: 9.621 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 5.257e-05/0.5709, allocations: 105 kB / 1.108 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.5709, allocations: 7.844 kB / 1.108 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.5709, allocations: 6.984 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5709, allocations: 0 / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5709, allocations: 0 / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.5709, allocations: 4.75 kB / 1.108 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.174e-05/0.571, allocations: 124.4 kB / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.571, allocations: 0 / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.571, allocations: 0 / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.571, allocations: 4 kB / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.571, allocations: 7.906 kB / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.571, allocations: 0 / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.571, allocations: 0 / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.499e-05/0.5711, allocations: 57.69 kB / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.5711, allocations: 77.11 kB / 1.108 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.5712, allocations: 0 / 1.108 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-06/0.5712, allocations: 3.906 kB / 1.108 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.5712, allocations: 8.031 kB / 1.108 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.5712, allocations: 0 / 1.108 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.936e-05/0.5712, allocations: 76.41 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000159/0.5714, allocations: 0 / 1.109 GB, free: 9.07 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 9.47e-05/0.5715, allocations: 107.2 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.028e-05/0.5715, allocations: 4 kB / 1.109 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5715, allocations: 0 / 1.109 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.501e-06/0.5715, allocations: 4.062 kB / 1.109 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.358e-05/0.5716, allocations: 0.5156 kB / 1.109 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001174/0.5717, allocations: 44.08 kB / 1.109 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.572, allocations: 0.6841 MB / 1.109 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of SimCode: time 1.653e-06/0.572, allocations: 1.125 kB / 1.109 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.001301/0.5733, allocations: 179.9 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1)