Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001096/0.001096, allocations: 177.2 kB / 366.3 MB, free: 1.957 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.109/1.109, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.000836/0.000836, allocations: 98.34 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.856e-06/8.987e-06, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4194, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5549, allocations: 137.7 MB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.5552, allocations: 80.5 kB / 1.107 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003249/0.5584, allocations: 1.081 MB / 1.108 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5584, allocations: 4 kB / 1.108 GB, free: 9.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003813/0.5588, allocations: 362.9 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5589, allocations: 12.03 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.5589, allocations: 7.906 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.559, allocations: 169.9 kB / 1.109 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.559, allocations: 4 kB / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.5591, allocations: 3.938 kB / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.507e-05/0.5591, allocations: 20.64 kB / 1.109 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.896e-05/0.5592, allocations: 41.7 kB / 1.109 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.5592, allocations: 0 / 1.109 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.5592, allocations: 0 / 1.109 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5592, allocations: 3.984 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.5597, allocations: 289.4 kB / 1.109 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.898e-05/0.5598, allocations: 34.52 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.5598, allocations: 14.08 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.5598, allocations: 4 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.5598, allocations: 34.56 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5598, allocations: 0 / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.56, allocations: 49.69 kB / 1.109 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.56, allocations: 51.41 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.5601, allocations: 97 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.5601, allocations: 25.7 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.5601, allocations: 92.12 kB / 1.109 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.5602, allocations: 11.75 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5602, allocations: 0 / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.5603, allocations: 318.8 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.5603, allocations: 8 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.5603, allocations: 13.81 kB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.5604, allocations: 12.12 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5604, allocations: 0 / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.948e-05/0.5604, allocations: 53.59 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.118e-06/0.5605, allocations: 8 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.5605, allocations: 0 / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5605, allocations: 4 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5606, allocations: 27.97 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5606, allocations: 0 / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.5607, allocations: 27.92 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.5608, allocations: 0 / 1.11 GB, free: 7.668 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 (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.123e-05/0.5608, allocations: 101 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.5608, allocations: 3.906 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.5609, allocations: 8 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.5609, allocations: 0 / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.5609, allocations: 0 / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5609, allocations: 7.984 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.561, allocations: 150.1 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.561, allocations: 0 / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.5611, allocations: 23.92 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5612, allocations: 2.438 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.5612, allocations: 4 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5612, allocations: 4 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5612, allocations: 0 / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001106/0.5613, allocations: 145.9 kB / 1.11 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.5613, allocations: 85.02 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.5614, allocations: 3.984 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5615, allocations: 19.98 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.5615, allocations: 4 kB / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.5615, allocations: 0 / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.173e-05/0.5616, allocations: 87.27 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000194/0.5618, allocations: 8 kB / 1.111 GB, free: 6.938 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 0.0001044/0.5619, allocations: 99.25 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.562, allocations: 27.94 kB / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.562, allocations: 0 / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.562, allocations: 12 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.5622, allocations: 11.98 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.5624, allocations: 67.69 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.5626, allocations: 0.6954 MB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of SimCode: time 2.014e-06/0.5626, allocations: 4 kB / 1.111 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of Templates: time 0.002/0.5646, allocations: 0.6404 MB / 1.112 GB, free: 5.355 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)