Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") [: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.334/1.334, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0009079/0.0009079, allocations: 177.3 kB / 366.3 MB, free: 1.984 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.034/1.034, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008073/0.0008069, allocations: 89.3 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.578e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.475, allocations: 116.3 MB / 0.9726 GB, free: 68.96 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.6227, allocations: 139.7 MB / 1.109 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.623, allocations: 80.38 kB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03283/0.6558, allocations: 13.36 MB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.858e-05/0.6559, allocations: 20 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001433/0.6573, allocations: 1.044 MB / 1.123 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.6574, allocations: 8.031 kB / 1.123 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.6575, allocations: 126.6 kB / 1.123 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.6584, allocations: 0.5861 MB / 1.124 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.6585, allocations: 28 kB / 1.124 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.6586, allocations: 60 kB / 1.124 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008367/0.6594, allocations: 487.8 kB / 1.124 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6605, allocations: 0.6637 MB / 1.125 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.6605, allocations: 5.031 kB / 1.125 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.6606, allocations: 0 / 1.125 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.6606, allocations: 20 kB / 1.125 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.6635, allocations: 2.309 MB / 1.127 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.664, allocations: 352.4 kB / 1.128 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006183/0.6646, allocations: 382.5 kB / 1.128 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.6647, allocations: 16.58 kB / 1.128 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.6651, allocations: 283.2 kB / 1.128 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 1.663e-06/0.6651, allocations: 0 / 1.128 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0007612/0.6658, allocations: 483.2 kB / 1.129 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.6659, allocations: 166.9 kB / 1.129 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.6664, allocations: 415.9 kB / 1.129 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.6664, allocations: 25.7 kB / 1.129 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.6666, allocations: 320.1 kB / 1.13 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.6668, allocations: 232.5 kB / 1.13 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.6668, allocations: 0 / 1.13 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6669, allocations: 382.7 kB / 1.13 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.6672, allocations: 165.2 kB / 1.13 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.6676, allocations: 270.4 kB / 1.131 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.6679, allocations: 199.2 kB / 1.131 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6679, allocations: 0 / 1.131 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007539/0.6686, allocations: 0.5226 MB / 1.131 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.6687, allocations: 184.6 kB / 1.132 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6687, allocations: 0 / 1.132 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6687, allocations: 4 kB / 1.132 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.6693, allocations: 159.8 kB / 1.132 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.6694, allocations: 4 kB / 1.132 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.6697, allocations: 83.55 kB / 1.132 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.6698, allocations: 25.69 kB / 1.132 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-06/0.6698, allocations: 0 / 1.132 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005995/0.6704, allocations: 410.3 kB / 1.132 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.6704, allocations: 4 kB / 1.132 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-06/0.6704, allocations: 4 kB / 1.132 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.6708, allocations: 119.8 kB / 1.132 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6708, allocations: 5.797 kB / 1.132 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.6711, allocations: 63.53 kB / 1.132 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.6711, allocations: 16 kB / 1.132 GB, free: 0.6055 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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 0.0001091/0.6713, allocations: 124.8 kB / 1.133 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.6714, allocations: 71.16 kB / 1.133 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.6715, allocations: 70.23 kB / 1.133 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6715, allocations: 8 kB / 1.133 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6715, allocations: 0 / 1.133 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.6715, allocations: 3.984 kB / 1.133 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.6733, allocations: 1.344 MB / 1.134 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6733, allocations: 0 / 1.134 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.674, allocations: 143.9 kB / 1.134 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6741, allocations: 0.6562 kB / 1.134 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.6741, allocations: 15.83 kB / 1.134 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.6741, allocations: 4 kB / 1.134 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6741, allocations: 3.938 kB / 1.134 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001061/0.6752, allocations: 0.8523 MB / 1.135 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6753, allocations: 144.9 kB / 1.135 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.6754, allocations: 7.984 kB / 1.135 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.6757, allocations: 51.95 kB / 1.135 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.6758, allocations: 32.61 kB / 1.135 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.6759, allocations: 23.98 kB / 1.135 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003039/0.6762, allocations: 315 kB / 1.136 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005663/0.6767, allocations: 262.5 kB / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.0001802/0.6769, allocations: 123.8 kB / 1.136 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.6779, allocations: 0.7221 MB / 1.137 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.678, allocations: 0 / 1.137 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.6783, allocations: 258.3 kB / 1.137 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.6789, allocations: 108.3 kB / 1.137 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.6807, allocations: 1.106 MB / 1.138 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.6814, allocations: 1.064 MB / 1.139 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.6814, allocations: 0 / 1.139 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.01504/0.6965, allocations: 9.129 MB / 1.148 GB, free: 0.5859 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)