Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") [: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.0.1-maint.8.0.x/package.mo): time 1.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009106/0.0009106, allocations: 173.3 kB / 361.1 MB, free: 7.121 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.036/1.036, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007825/0.0007824, allocations: 87.92 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.873e-06, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4645, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.6173, allocations: 145.7 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.6176, allocations: 80.38 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0522/0.6698, allocations: 19.41 MB / 1.125 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.396e-05/0.67, allocations: 28.12 kB / 1.125 GB, free: 6.914 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00181/0.6718, allocations: 1.094 MB / 1.126 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6718, allocations: 12.88 kB / 1.126 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.6721, allocations: 122.5 kB / 1.126 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6734, allocations: 0.7346 MB / 1.127 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.6735, allocations: 63.7 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.6736, allocations: 47.98 kB / 1.127 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008314/0.6744, allocations: 444 kB / 1.127 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.6754, allocations: 0.6299 MB / 1.128 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.6754, allocations: 3.938 kB / 1.128 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.6755, allocations: 5.312 kB / 1.128 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.6755, allocations: 16 kB / 1.128 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.6787, allocations: 2.214 MB / 1.13 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.6798, allocations: 0.5405 MB / 1.131 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.6801, allocations: 207.7 kB / 1.131 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.6802, allocations: 8.5 kB / 1.131 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/0.6806, allocations: 273.3 kB / 1.131 GB, free: 308 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.6806, allocations: 0 / 1.131 GB, free: 308 kB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.000833/0.6815, allocations: 495.8 kB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.6815, allocations: 141 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.6822, allocations: 0.5553 MB / 1.132 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.6823, allocations: 29.69 kB / 1.132 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6825, allocations: 304.1 kB / 1.133 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6826, allocations: 193 kB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.6826, allocations: 7.75 kB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.6827, allocations: 326 kB / 1.133 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.683, allocations: 173.3 kB / 1.133 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.6834, allocations: 281 kB / 1.134 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.6838, allocations: 199.1 kB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6838, allocations: 4 kB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008737/0.6846, allocations: 0.5534 MB / 1.134 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003227/0.685, allocations: 0.8796 MB / 1.135 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.685, allocations: 4 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.685, allocations: 8 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.686, allocations: 163.8 kB / 1.135 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.686, allocations: 4 kB / 1.135 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.6865, allocations: 67.5 kB / 1.135 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.6866, allocations: 27.98 kB / 1.136 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.6866, allocations: 4 kB / 1.136 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007644/0.6874, allocations: 450.1 kB / 1.136 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6874, allocations: 2 kB / 1.136 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.6874, allocations: 8.141 kB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.6883, allocations: 156 kB / 1.136 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.6883, allocations: 11.88 kB / 1.136 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.6888, allocations: 59.56 kB / 1.136 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.6889, allocations: 23.98 kB / 1.136 GB, free: 11.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000146/0.689, allocations: 126.8 kB / 1.136 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.6891, allocations: 90.86 kB / 1.136 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.6893, allocations: 88.58 kB / 1.136 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.6893, allocations: 8 kB / 1.136 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6893, allocations: 4 kB / 1.136 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6893, allocations: 3.984 kB / 1.136 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.6911, allocations: 1.312 MB / 1.138 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6912, allocations: 0 / 1.138 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.6918, allocations: 115.8 kB / 1.138 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6918, allocations: 4 kB / 1.138 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.6919, allocations: 7.984 kB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6919, allocations: 1.5 kB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6919, allocations: 2.109 kB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001205/0.6931, allocations: 0.8713 MB / 1.139 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.6934, allocations: 227.8 kB / 1.139 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.6935, allocations: 4 kB / 1.139 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.6941, allocations: 43.95 kB / 1.139 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.6942, allocations: 36.39 kB / 1.139 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.6942, allocations: 21.2 kB / 1.139 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004819/0.6947, allocations: 431.2 kB / 1.139 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007085/0.6954, allocations: 272.5 kB / 1.14 GB, free: 7.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000186/0.6956, allocations: 115 kB / 1.14 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.6968, allocations: 0.7427 MB / 1.141 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6968, allocations: 9 kB / 1.141 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.6971, allocations: 237.8 kB / 1.141 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.6981, allocations: 202.8 kB / 1.141 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.7006, allocations: 1.156 MB / 1.142 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007559/0.7013, allocations: 1.093 MB / 1.143 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.7013, allocations: 0 / 1.143 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.02087/0.7222, allocations: 12.87 MB / 1.156 GB, free: 7.113 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)