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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") [: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.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.001015/0.001015, allocations: 173.3 kB / 361.1 MB, free: 7.102 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.029/1.029, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007479/0.0007479, allocations: 94.92 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.637e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4238, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5541, allocations: 136.7 MB / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.5544, allocations: 70.2 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003426/0.5578, allocations: 1.087 MB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.5578, allocations: 0.5938 kB / 1.098 GB, free: 2.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000383/0.5582, allocations: 375.3 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5583, allocations: 8.594 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.5583, allocations: 8.562 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.5584, allocations: 170.9 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.5584, allocations: 1.375 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.5584, allocations: 0 / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.953e-05/0.5585, allocations: 20.72 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.5586, allocations: 42.25 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5586, allocations: 0 / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.5586, allocations: 1.031 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.5586, allocations: 0 / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.5591, allocations: 291.3 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.5592, allocations: 35.38 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.5592, allocations: 16.86 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5593, allocations: 3.75 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5593, allocations: 35.77 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.5593, allocations: 0 / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001495/0.5594, allocations: 54.06 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.5595, allocations: 55.41 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.5595, allocations: 105 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.5596, allocations: 25.7 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.5596, allocations: 80.14 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.5596, allocations: 11.75 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.5596, allocations: 0 / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.5597, allocations: 322.8 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.5597, allocations: 8 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.5598, allocations: 8 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.5598, allocations: 4.891 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5598, allocations: 4 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.309e-05/0.5599, allocations: 57.59 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.5599, allocations: 4 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.5599, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.5599, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.5601, allocations: 27.92 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5601, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.354e-05/0.5602, allocations: 23.92 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5602, allocations: 0 / 1.1 GB, free: 308 kB / 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 (3): * Single equations (assignments): 3 * 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.426e-05/0.5603, allocations: 109 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.5603, allocations: 7.906 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.5603, allocations: 8.938 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5603, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5604, allocations: 1.562 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5604, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.5605, allocations: 146.1 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5605, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.5606, allocations: 27.97 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5606, allocations: 4 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5607, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5607, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5607, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001186/0.5608, allocations: 154.4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.5608, allocations: 85.02 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5608, allocations: 1.875 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.561, allocations: 15.98 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.561, allocations: 14.42 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.561, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.958e-05/0.5611, allocations: 87.28 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002116/0.5613, allocations: 4 kB / 1.101 GB, free: 15.57 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 (3): * Single equations (assignments): 3 * 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.668e-05/0.5614, allocations: 103 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.5615, allocations: 19.98 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.5615, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.5615, allocations: 16 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.5617, allocations: 16.08 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.5619, allocations: 80.42 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5622, allocations: 0.6915 MB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.352e-06/0.5622, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.00207/0.5642, allocations: 0.6284 MB / 1.102 GB, free: 14 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)