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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) [: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.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009741/0.0009741, allocations: 179.2 kB / 361.1 MB, free: 7.129 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.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007914/0.0007915, allocations: 91.59 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.1757, allocations: 121.5 MB / 0.8512 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.5831, allocations: 115.3 MB / 0.9638 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.7149, allocations: 139 MB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.7152, allocations: 76.56 kB / 1.1 GB, free: 0.9453 MB / 0.698 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.02418/0.7394, allocations: 9.709 MB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.7394, allocations: 12.44 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.7395, allocations: 70.53 kB / 1.109 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.7403, allocations: 436.4 kB / 1.11 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.7403, allocations: 16 kB / 1.11 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.7404, allocations: 43.92 kB / 1.11 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000438/0.7408, allocations: 253.9 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.7414, allocations: 381 kB / 1.11 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7414, allocations: 4 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.7414, allocations: 0 / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.7414, allocations: 12 kB / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.7433, allocations: 1.374 MB / 1.112 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.7436, allocations: 205.7 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.744, allocations: 237 kB / 1.112 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.744, allocations: 4 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.7443, allocations: 188 kB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.7443, allocations: 0 / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0005192/0.7448, allocations: 328.9 kB / 1.113 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.7449, allocations: 106.8 kB / 1.113 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.7452, allocations: 278.1 kB / 1.113 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.7452, allocations: 33.64 kB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.7453, allocations: 212.8 kB / 1.113 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.7454, allocations: 130 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.7455, allocations: 4 kB / 1.113 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7456, allocations: 359.8 kB / 1.114 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.7458, allocations: 128.9 kB / 1.114 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.7461, allocations: 208.4 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.7464, allocations: 164.6 kB / 1.114 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7465, allocations: 0 / 1.114 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007149/0.7472, allocations: 418 kB / 1.114 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.7474, allocations: 0.5348 MB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7474, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7474, allocations: 7.906 kB / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.7478, allocations: 97.27 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7478, allocations: 8 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.7482, allocations: 79.69 kB / 1.115 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.7482, allocations: 20.94 kB / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/0.7482, allocations: 8 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006085/0.7489, allocations: 340.8 kB / 1.116 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7489, allocations: 4 kB / 1.116 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.7489, allocations: 0 / 1.116 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.7492, allocations: 75.91 kB / 1.116 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.7492, allocations: 0 / 1.116 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.7495, allocations: 79.8 kB / 1.116 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.7495, allocations: 16 kB / 1.116 GB, free: 260 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 9.755e-05/0.7496, allocations: 112.9 kB / 1.116 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.7497, allocations: 47.19 kB / 1.116 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.7498, allocations: 48.25 kB / 1.116 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.7498, allocations: 8.969 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7498, allocations: 4 kB / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7498, allocations: 4 kB / 1.116 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.7507, allocations: 0.8268 MB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7507, allocations: 4 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.7511, allocations: 75.89 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.7511, allocations: 7.938 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.7511, allocations: 5.5 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7511, allocations: 6.266 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7511, allocations: 0 / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007061/0.7519, allocations: 0.5867 MB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009575/0.7528, allocations: 1.123 MB / 1.118 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.7529, allocations: 120.6 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.753, allocations: 7.906 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.7532, allocations: 15.98 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.7532, allocations: 27.97 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.7533, allocations: 17.98 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001879/0.7535, allocations: 220.5 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001663/0.7551, allocations: 179.2 kB / 1.119 GB, free: 12.73 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.0001721/0.7553, allocations: 134.5 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.7561, allocations: 0.5939 MB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7561, allocations: 128 / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.7563, allocations: 163.9 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.7568, allocations: 63.77 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.7579, allocations: 0.6558 MB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.7584, allocations: 0.9036 MB / 1.121 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.7584, allocations: 0 / 1.121 GB, free: 10.16 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)