Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") [: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.369/1.369, 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.0009591/0.0009588, allocations: 185.2 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.027/1.027, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008089/0.0008089, allocations: 86.48 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.094e-05/1.097e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.46, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.6142, allocations: 140 MB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.6144, allocations: 85.47 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02689/0.6413, allocations: 10.25 MB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.704e-05/0.6414, allocations: 16 kB / 1.119 GB, free: 14.12 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00106/0.6424, allocations: 0.8033 MB / 1.12 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6425, allocations: 12.03 kB / 1.12 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.6426, allocations: 71.16 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.6434, allocations: 472.4 kB / 1.121 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.6434, allocations: 17.12 kB / 1.121 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.6435, allocations: 39.91 kB / 1.121 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005266/0.644, allocations: 274 kB / 1.121 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.6446, allocations: 397 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6446, allocations: 0 / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.6447, allocations: 4 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.6447, allocations: 15.98 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.6466, allocations: 1.471 MB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.6469, allocations: 226.8 kB / 1.123 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.6474, allocations: 240.8 kB / 1.123 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.6474, allocations: 4 kB / 1.123 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.6477, allocations: 214.2 kB / 1.124 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.743e-06/0.6477, allocations: 0.5625 kB / 1.124 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.0005644/0.6483, allocations: 350.6 kB / 1.124 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.6484, allocations: 107.2 kB / 1.124 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.6487, allocations: 294 kB / 1.124 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.6487, allocations: 29.7 kB / 1.124 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.6488, allocations: 220.8 kB / 1.124 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.6489, allocations: 142.4 kB / 1.125 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.649, allocations: 8 kB / 1.125 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.6492, allocations: 354.8 kB / 1.125 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.6494, allocations: 157 kB / 1.125 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.6498, allocations: 245.9 kB / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.6503, allocations: 204.6 kB / 1.126 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6503, allocations: 0.75 kB / 1.126 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009348/0.6512, allocations: 0.5024 MB / 1.126 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.6515, allocations: 0.6141 MB / 1.127 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6515, allocations: 3.906 kB / 1.127 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6515, allocations: 8 kB / 1.127 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.6519, allocations: 91.89 kB / 1.127 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6519, allocations: 0 / 1.127 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.6524, allocations: 131.6 kB / 1.127 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.6525, allocations: 28.77 kB / 1.127 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.6525, allocations: 4 kB / 1.127 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008421/0.6534, allocations: 437.3 kB / 1.127 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.6534, allocations: 0 / 1.127 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.6534, allocations: 4 kB / 1.127 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.6537, allocations: 75.91 kB / 1.127 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.6537, allocations: 4 kB / 1.127 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.6542, allocations: 107.8 kB / 1.128 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.6542, allocations: 27.98 kB / 1.128 GB, free: 5.484 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001209/0.6543, allocations: 128.5 kB / 1.128 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.6544, allocations: 43.44 kB / 1.128 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.6545, allocations: 48.69 kB / 1.128 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6545, allocations: 8 kB / 1.128 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6545, allocations: 0 / 1.128 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.6546, allocations: 3.984 kB / 1.128 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6556, allocations: 0.872 MB / 1.129 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6556, allocations: 3.938 kB / 1.129 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.656, allocations: 79.89 kB / 1.129 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.656, allocations: 5.031 kB / 1.129 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.656, allocations: 4 kB / 1.129 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.656, allocations: 0 / 1.129 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6561, allocations: 0 / 1.129 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007499/0.6568, allocations: 0.6305 MB / 1.129 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.6569, allocations: 124.4 kB / 1.129 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.657, allocations: 3.984 kB / 1.129 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.6572, allocations: 23.98 kB / 1.129 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.6573, allocations: 24.39 kB / 1.129 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.6573, allocations: 16 kB / 1.129 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002015/0.6575, allocations: 220.6 kB / 1.13 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005392/0.6581, allocations: 204.3 kB / 1.13 GB, free: 2.973 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002031/0.6583, allocations: 131 kB / 1.13 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009795/0.6593, allocations: 0.7362 MB / 1.131 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6593, allocations: 0 / 1.131 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.6595, allocations: 177.6 kB / 1.131 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.66, allocations: 76.19 kB / 1.131 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.6612, allocations: 0.6904 MB / 1.132 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.6617, allocations: 0.9139 MB / 1.133 GB, free: 176 kB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.6617, allocations: 0 / 1.133 GB, free: 176 kB / 0.7292 GB Notification: Performance of Templates: time 0.01282/0.6746, allocations: 7.871 MB / 1.14 GB, free: 8.414 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)