Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") [: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.508/1.508, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001525/0.001525, allocations: 183.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.531/1.531, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009531/0.0009531, allocations: 91.55 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.707e-06/8.727e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6656, allocations: 116.3 MB / 0.9726 GB, free: 68.44 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.8414, allocations: 143 MB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.8417, allocations: 87.88 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04359/0.8854, allocations: 17 MB / 1.129 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.676e-05/0.8855, allocations: 28.94 kB / 1.129 GB, free: 4.285 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001823/0.8873, allocations: 1.106 MB / 1.13 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8874, allocations: 8.031 kB / 1.13 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.8876, allocations: 126.5 kB / 1.13 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.8886, allocations: 0.6094 MB / 1.131 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.8887, allocations: 32 kB / 1.131 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.8888, allocations: 56 kB / 1.131 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/0.8898, allocations: 0.5273 MB / 1.131 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.8911, allocations: 0.7144 MB / 1.132 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.8912, allocations: 4 kB / 1.132 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.8912, allocations: 1.406 kB / 1.132 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.8913, allocations: 24 kB / 1.132 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.8953, allocations: 2.516 MB / 1.135 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.8961, allocations: 393.6 kB / 1.135 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.8966, allocations: 322.5 kB / 1.135 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.276e-05/0.8966, allocations: 12.64 kB / 1.135 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/0.8972, allocations: 315 kB / 1.136 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 4.649e-06/0.8972, allocations: 0 / 1.136 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.0009472/0.8981, allocations: 0.5147 MB / 1.136 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.8982, allocations: 162.9 kB / 1.136 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.8988, allocations: 471.5 kB / 1.137 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.8989, allocations: 25.7 kB / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.8991, allocations: 347.9 kB / 1.137 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.8993, allocations: 256.1 kB / 1.137 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.8993, allocations: 0 / 1.137 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.8995, allocations: 383.8 kB / 1.138 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.8998, allocations: 185.6 kB / 1.138 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.9002, allocations: 295.5 kB / 1.138 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.9006, allocations: 216.5 kB / 1.138 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9006, allocations: 0 / 1.138 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009283/0.9015, allocations: 0.5876 MB / 1.139 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/0.9016, allocations: 181.2 kB / 1.139 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9016, allocations: 0 / 1.139 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.9017, allocations: 4 kB / 1.139 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.9024, allocations: 171.8 kB / 1.139 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9024, allocations: 3.297 kB / 1.139 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.9028, allocations: 99.38 kB / 1.139 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.9028, allocations: 20 kB / 1.139 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/0.9028, allocations: 4 kB / 1.139 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007048/0.9036, allocations: 465 kB / 1.14 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.9036, allocations: 0 / 1.14 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.9036, allocations: 4 kB / 1.14 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.9041, allocations: 131.8 kB / 1.14 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.9041, allocations: 4 kB / 1.14 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.9044, allocations: 67.44 kB / 1.14 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.9044, allocations: 24 kB / 1.14 GB, free: 8.68 MB / 0.7448 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 (91): * Single equations (assignments): 91 * 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.0001414/0.9046, allocations: 120.8 kB / 1.14 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.9047, allocations: 75.06 kB / 1.14 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.9048, allocations: 75.69 kB / 1.14 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.9048, allocations: 15.89 kB / 1.14 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.9049, allocations: 0 / 1.14 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9049, allocations: 3.984 kB / 1.14 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.9068, allocations: 1.424 MB / 1.142 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9068, allocations: 4 kB / 1.142 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.9075, allocations: 143.8 kB / 1.142 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.9075, allocations: 11.98 kB / 1.142 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.9075, allocations: 1.594 kB / 1.142 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.9075, allocations: 4 kB / 1.142 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9076, allocations: 0 / 1.142 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001254/0.9088, allocations: 0.9191 MB / 1.143 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.9089, allocations: 152 kB / 1.143 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.909, allocations: 8 kB / 1.143 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.9094, allocations: 51.97 kB / 1.143 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.9095, allocations: 40.5 kB / 1.143 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.9095, allocations: 23.98 kB / 1.143 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003824/0.9099, allocations: 355.2 kB / 1.143 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006679/0.9106, allocations: 286.3 kB / 1.144 GB, free: 4.91 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 (77): * Single equations (assignments): 77 * 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.0001863/0.9108, allocations: 123 kB / 1.144 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.912, allocations: 0.8109 MB / 1.145 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.912, allocations: 0 / 1.145 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.9123, allocations: 274.4 kB / 1.145 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.913, allocations: 124.9 kB / 1.145 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.9153, allocations: 1.205 MB / 1.146 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.9161, allocations: 1.096 MB / 1.147 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.9161, allocations: 0 / 1.147 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.01877/0.9349, allocations: 10.3 MB / 1.157 GB, free: 7.051 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)