Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.353/1.353, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.0009834/0.0009833, allocations: 181.3 kB / 366.3 MB, free: 1.922 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.097/1.097, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008601/0.0008601, allocations: 93.06 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4483, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.5897, allocations: 139.1 MB / 1.108 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.59, allocations: 71.95 kB / 1.109 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01482/0.6048, allocations: 6.071 MB / 1.114 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.6048, allocations: 12 kB / 1.114 GB, free: 3.188 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.0007501/0.6056, allocations: 0.6228 MB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.6056, allocations: 12.03 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.6057, allocations: 48.09 kB / 1.115 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.6063, allocations: 363.5 kB / 1.115 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.6063, allocations: 12 kB / 1.115 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.6063, allocations: 27.89 kB / 1.116 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003733/0.6067, allocations: 217.5 kB / 1.116 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.6072, allocations: 314.3 kB / 1.116 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6072, allocations: 0 / 1.116 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.6072, allocations: 1.219 kB / 1.116 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.6073, allocations: 8 kB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.6088, allocations: 1.174 MB / 1.117 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.6091, allocations: 207.7 kB / 1.117 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.6093, allocations: 100.8 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.6093, allocations: 4 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.6095, allocations: 156.9 kB / 1.118 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.6095, allocations: 4 kB / 1.118 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0003427/0.6099, allocations: 201.2 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.6099, allocations: 133.1 kB / 1.118 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.6102, allocations: 263.6 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6102, allocations: 25.7 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.6103, allocations: 203.7 kB / 1.118 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.6104, allocations: 86.75 kB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.6104, allocations: 4 kB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6105, allocations: 335.4 kB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.6107, allocations: 76.5 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.6108, allocations: 153.4 kB / 1.119 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.611, allocations: 85.23 kB / 1.119 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.611, allocations: 0 / 1.119 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003836/0.6114, allocations: 265.2 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.6116, allocations: 0.5301 MB / 1.12 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6116, allocations: 7.891 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6116, allocations: 4 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.6119, allocations: 63.91 kB / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6119, allocations: 2.734 kB / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.6121, allocations: 44.66 kB / 1.12 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.6121, allocations: 12 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.6121, allocations: 5.719 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002847/0.6124, allocations: 199.7 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.6124, allocations: 0 / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.6124, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.6126, allocations: 47.92 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.6126, allocations: 4 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.6128, allocations: 27.73 kB / 1.12 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.6128, allocations: 16.97 kB / 1.12 GB, free: 12.88 MB / 0.7292 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 7.968e-05/0.6129, allocations: 108.9 kB / 1.12 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.6129, allocations: 31.56 kB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.613, allocations: 38.67 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.613, allocations: 0 / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.613, allocations: 0 / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6131, allocations: 15.83 kB / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.614, allocations: 0.8099 MB / 1.121 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.614, allocations: 0 / 1.121 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.6142, allocations: 60.16 kB / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6143, allocations: 4 kB / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.6143, allocations: 8 kB / 1.121 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.6143, allocations: 13.48 kB / 1.121 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6143, allocations: 3.938 kB / 1.121 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005265/0.6148, allocations: 0.6213 MB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.6149, allocations: 112.7 kB / 1.122 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.615, allocations: 11.98 kB / 1.122 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6152, allocations: 23.98 kB / 1.122 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.6153, allocations: 27.83 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.6153, allocations: 8 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001702/0.6155, allocations: 207.1 kB / 1.122 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004453/0.6159, allocations: 115.4 kB / 1.122 GB, free: 10.48 MB / 0.7292 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.0001478/0.6161, allocations: 119.1 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.6165, allocations: 314.4 kB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6165, allocations: 64 / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.6167, allocations: 100.9 kB / 1.123 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.6171, allocations: 64.2 kB / 1.123 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.6181, allocations: 0.5385 MB / 1.124 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.6186, allocations: 0.8462 MB / 1.124 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.6186, allocations: 0 / 1.124 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of Templates: time 0.007566/0.6261, allocations: 4.188 MB / 1.128 GB, free: 4.309 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)