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.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") [: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.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.00093/0.00093, allocations: 189.2 kB / 361.1 MB, free: 7.113 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.025/1.025, allocations: 205.1 MB / 0.6195 GB, free: 10.4 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.0007984/0.0007983, allocations: 95.25 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.266e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4314, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.5683, allocations: 139 MB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.5686, allocations: 76.98 kB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02367/0.5922, allocations: 8.944 MB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.574e-05/0.5923, allocations: 8 kB / 1.108 GB, free: 8.203 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001143/0.5935, allocations: 0.7563 MB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5935, allocations: 12.03 kB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.5937, allocations: 63.25 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/0.5945, allocations: 448.5 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5945, allocations: 20 kB / 1.11 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.5946, allocations: 32 kB / 1.11 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004819/0.5951, allocations: 261.8 kB / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.5957, allocations: 373 kB / 1.11 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5957, allocations: 4 kB / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.5957, allocations: 0 / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5958, allocations: 12 kB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.5977, allocations: 1.377 MB / 1.112 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.598, allocations: 203.3 kB / 1.112 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.5984, allocations: 232.8 kB / 1.112 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.5985, allocations: 4 kB / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.5987, allocations: 191.9 kB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.5988, allocations: 0 / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0005457/0.5993, allocations: 324.9 kB / 1.112 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.5994, allocations: 106.8 kB / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.5997, allocations: 282.1 kB / 1.113 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.5997, allocations: 33.7 kB / 1.113 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5998, allocations: 212.8 kB / 1.113 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.5999, allocations: 131.1 kB / 1.113 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.6, allocations: 0 / 1.113 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6001, allocations: 359.8 kB / 1.113 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.6003, allocations: 128.9 kB / 1.114 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.6006, allocations: 220.4 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.601, allocations: 160.7 kB / 1.114 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.601, allocations: 0 / 1.114 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007524/0.6017, allocations: 426 kB / 1.114 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.6019, allocations: 0.5231 MB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6019, allocations: 1.375 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.602, allocations: 15.84 kB / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.6024, allocations: 89.58 kB / 1.115 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6024, allocations: 3.938 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.6028, allocations: 87.69 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.6028, allocations: 16 kB / 1.115 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/0.6028, allocations: 4 kB / 1.115 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006325/0.6035, allocations: 344.9 kB / 1.115 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.6035, allocations: 0 / 1.115 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.6035, allocations: 4 kB / 1.115 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.6038, allocations: 75.84 kB / 1.116 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.6038, allocations: 6.031 kB / 1.116 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.6041, allocations: 72.98 kB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.6042, allocations: 20 kB / 1.116 GB, free: 376 kB / 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: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0001057/0.6043, allocations: 113.4 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.6043, allocations: 43.42 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.212e-05/0.6044, allocations: 48.27 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6045, allocations: 4 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6045, allocations: 0 / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6045, allocations: 0 / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.6054, allocations: 0.8421 MB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6054, allocations: 0 / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.6058, allocations: 79.89 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6058, allocations: 0 / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6059, allocations: 9.812 kB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6059, allocations: 0 / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6059, allocations: 0 / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007066/0.6066, allocations: 0.5905 MB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.6067, allocations: 120.6 kB / 1.117 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.6068, allocations: 4 kB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.607, allocations: 23.98 kB / 1.117 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.607, allocations: 19.97 kB / 1.117 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.6071, allocations: 15.98 kB / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001985/0.6073, allocations: 220.5 kB / 1.118 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005307/0.6078, allocations: 179.1 kB / 1.118 GB, free: 13.99 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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.0001835/0.608, allocations: 119 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008525/0.6089, allocations: 0.5937 MB / 1.119 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6089, allocations: 0 / 1.119 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.6091, allocations: 159.9 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.6096, allocations: 71.64 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6107, allocations: 0.6457 MB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.6112, allocations: 0.8987 MB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.6112, allocations: 0 / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.01183/0.6231, allocations: 6.698 MB / 1.127 GB, free: 4.898 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)