Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") [: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.323/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009671/0.0009671, allocations: 183.7 kB / 361.1 MB, free: 7.094 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.057/1.057, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007872/0.0007872, allocations: 98.11 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.288e-05, allocations: 4 kB / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4448, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.581, allocations: 138.1 MB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.5812, allocations: 72.7 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01537/0.5966, allocations: 6.077 MB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.5967, allocations: 8 kB / 1.105 GB, free: 11.86 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008152/0.5975, allocations: 0.6323 MB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5976, allocations: 8.531 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.5977, allocations: 47.44 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.5982, allocations: 363.5 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5983, allocations: 12 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.5983, allocations: 27.91 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003799/0.5987, allocations: 213.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.5992, allocations: 310.3 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5992, allocations: 2.125 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.5993, allocations: 4 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.5993, allocations: 8 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.6008, allocations: 1.174 MB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.6012, allocations: 205.8 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.6014, allocations: 104.8 kB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.6014, allocations: 4 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.6016, allocations: 155.4 kB / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.6016, allocations: 0 / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0003602/0.602, allocations: 205.2 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.6021, allocations: 132.5 kB / 1.108 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.6023, allocations: 259.5 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.6024, allocations: 29.7 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.6025, allocations: 207.7 kB / 1.109 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.6025, allocations: 82.75 kB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.6025, allocations: 4 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6027, allocations: 338.8 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.6028, allocations: 76.56 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.603, allocations: 145.4 kB / 1.109 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.6031, allocations: 94.89 kB / 1.109 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6031, allocations: 4 kB / 1.109 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003807/0.6035, allocations: 261.1 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.6037, allocations: 0.5241 MB / 1.11 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6037, allocations: 7.906 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6037, allocations: 3.984 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.604, allocations: 67.91 kB / 1.11 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.604, allocations: 7.938 kB / 1.11 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.6043, allocations: 43.81 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.6043, allocations: 8 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.6043, allocations: 4 kB / 1.11 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002932/0.6046, allocations: 193.4 kB / 1.11 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.6046, allocations: 4 kB / 1.11 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.6046, allocations: 0.75 kB / 1.11 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.6048, allocations: 55.92 kB / 1.11 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.6048, allocations: 3.938 kB / 1.11 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.605, allocations: 33.36 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.605, allocations: 12 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.413e-05/0.6051, allocations: 108.9 kB / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.6051, allocations: 31.62 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.936e-05/0.6052, allocations: 30.67 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6052, allocations: 9.156 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6052, allocations: 0 / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.6052, allocations: 7.891 kB / 1.111 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.6062, allocations: 0.8091 MB / 1.111 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6062, allocations: 4 kB / 1.111 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.6065, allocations: 60.16 kB / 1.111 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.6065, allocations: 4 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.6065, allocations: 8 kB / 1.112 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6065, allocations: 11.89 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6065, allocations: 7.938 kB / 1.112 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005712/0.6071, allocations: 0.6265 MB / 1.112 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.6072, allocations: 108.7 kB / 1.112 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.6072, allocations: 11.98 kB / 1.112 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.6075, allocations: 23.98 kB / 1.112 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.6075, allocations: 23.89 kB / 1.112 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.6076, allocations: 8 kB / 1.112 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001761/0.6077, allocations: 203.1 kB / 1.113 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004696/0.6082, allocations: 119.4 kB / 1.113 GB, free: 3.156 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001479/0.6084, allocations: 122.9 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.6088, allocations: 306.4 kB / 1.113 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6088, allocations: 4.125 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.609, allocations: 95.8 kB / 1.113 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.6094, allocations: 58.61 kB / 1.113 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.6105, allocations: 0.5347 MB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.6109, allocations: 0.8475 MB / 1.115 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6109, allocations: 0 / 1.115 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of Templates: time 0.007888/0.6188, allocations: 4.201 MB / 1.119 GB, free: 13.02 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)