Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") [: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.617 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.0009194/0.000919, allocations: 177.3 kB / 366.3 MB, free: 1.93 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.038/1.038, allocations: 205.1 MB / 0.6256 GB, free: 7.418 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.0007621/0.0007621, allocations: 80.86 kB / 0.7395 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.1e-05, allocations: 4 kB / 0.859 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4844, allocations: 116.3 MB / 0.9726 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.6324, allocations: 137.4 MB / 1.107 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.6327, allocations: 65.02 kB / 1.107 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001692/0.6344, allocations: 470.4 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.6344, allocations: 0 / 1.107 GB, free: 12.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002843/0.6347, allocations: 339.1 kB / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6348, allocations: 10.11 kB / 1.108 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.6348, allocations: 7.906 kB / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.635, allocations: 179 kB / 1.108 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.635, allocations: 5.688 kB / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.635, allocations: 0 / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.647e-05/0.6351, allocations: 43.97 kB / 1.108 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.6353, allocations: 78.33 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6353, allocations: 1.031 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6353, allocations: 0 / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6353, allocations: 5.062 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.6357, allocations: 451.2 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.6359, allocations: 165.1 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.6359, allocations: 80.77 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.6359, allocations: 79.91 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.636, allocations: 107.3 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.636, allocations: 0 / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.922e-05/0.6361, allocations: 37.53 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6361, allocations: 57.22 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.6362, allocations: 109.6 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.6362, allocations: 25.7 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.6363, allocations: 96.53 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.6363, allocations: 1.156 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.6363, allocations: 0 / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.6364, allocations: 322.8 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.6364, allocations: 7.375 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.6364, allocations: 11.86 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.6365, allocations: 11.98 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6365, allocations: 4.938 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.6366, allocations: 45.69 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6366, allocations: 4.531 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.6366, allocations: 0.5 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6366, allocations: 0.75 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.6367, allocations: 7.938 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6367, allocations: 4.531 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.6367, allocations: 4 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6368, allocations: 3.25 kB / 1.109 GB, free: 10.09 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 8.529e-05/0.6368, allocations: 184.2 kB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.6369, allocations: 109 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.637, allocations: 113.5 kB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/0.637, allocations: 181.1 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.146e-05/0.6371, allocations: 176.3 kB / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-05/0.6371, allocations: 181.9 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.6373, allocations: 397.7 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.6374, allocations: 105.8 kB / 1.111 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.6374, allocations: 103 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/0.6375, allocations: 184.9 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.6375, allocations: 177 kB / 1.111 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.447e-05/0.6376, allocations: 180.4 kB / 1.111 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.217e-05/0.6377, allocations: 188.5 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001196/0.6378, allocations: 309.1 kB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.6379, allocations: 185.9 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.6379, allocations: 180.3 kB / 1.112 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.638, allocations: 109 kB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.6381, allocations: 186.3 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.6381, allocations: 105 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.595e-05/0.6382, allocations: 92.67 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001983/0.6384, allocations: 15.84 kB / 1.113 GB, free: 6.504 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 (0): * Single equations (assignments): 0 * 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.0001578/0.6386, allocations: 174.5 kB / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.84e-05/0.6386, allocations: 14.25 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.6386, allocations: 0 / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.6386, allocations: 7.922 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.6389, allocations: 0.5202 MB / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.6392, allocations: 159.2 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.6394, allocations: 0.6997 MB / 1.114 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6394, allocations: 4 kB / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.001826/0.6413, allocations: 306.8 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)