Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.0/package.mo): time 2.178/2.178, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001606/0.001606, allocations: 191.8 kB / 360.3 MB, free: 7.531 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.674/1.674, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.0012/0.0012, allocations: 89.56 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2531/0.2544, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.8123, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/1.022, allocations: 138.9 MB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.022, allocations: 76.56 kB / 1.098 GB, free: 1.898 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.07101/1.093, allocations: 16.69 MB / 1.115 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.093, allocations: 8.5 kB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/1.094, allocations: 122.5 kB / 1.115 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/1.096, allocations: 0.657 MB / 1.116 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/1.096, allocations: 24 kB / 1.116 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.096, allocations: 55.98 kB / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00158/1.097, allocations: 488 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/1.099, allocations: 0.6411 MB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/1.099, allocations: 0 / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/1.099, allocations: 3.984 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/1.099, allocations: 25.66 kB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005652/1.105, allocations: 2.473 MB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/1.107, allocations: 0.5348 MB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/1.107, allocations: 246.9 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/1.107, allocations: 12.48 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006292/1.108, allocations: 266.9 kB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 2.364e-06/1.108, allocations: 0 / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001345/1.11, allocations: 459.2 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.11, allocations: 196.6 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/1.111, allocations: 491.5 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/1.111, allocations: 25.7 kB / 1.121 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/1.111, allocations: 335.7 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/1.111, allocations: 197 kB / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/1.111, allocations: 4 kB / 1.122 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.112, allocations: 382.8 kB / 1.122 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/1.112, allocations: 189.3 kB / 1.122 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007761/1.113, allocations: 319.6 kB / 1.123 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/1.114, allocations: 227.1 kB / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.114, allocations: 4 kB / 1.123 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001926/1.116, allocations: 0.5888 MB / 1.123 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/1.116, allocations: 0.5318 MB / 1.124 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.116, allocations: 8 kB / 1.124 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.116, allocations: 4 kB / 1.124 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.117, allocations: 143.8 kB / 1.124 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.117, allocations: 5.562 kB / 1.124 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.119, allocations: 139.5 kB / 1.124 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/1.119, allocations: 23.98 kB / 1.124 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.119, allocations: 4 kB / 1.124 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/1.12, allocations: 475 kB / 1.125 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.12, allocations: 0 / 1.125 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.12, allocations: 8.156 kB / 1.125 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/1.121, allocations: 113.7 kB / 1.125 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.121, allocations: 4 kB / 1.125 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/1.122, allocations: 103.5 kB / 1.125 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.122, allocations: 20 kB / 1.125 GB, free: 6.492 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: 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 (75): * Single equations (assignments): 74 * 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.0002393/1.123, allocations: 124.8 kB / 1.125 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/1.123, allocations: 67.16 kB / 1.125 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/1.123, allocations: 79.09 kB / 1.125 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/1.123, allocations: 13.22 kB / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.123, allocations: 0 / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.123, allocations: 7.984 kB / 1.125 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.126, allocations: 1.177 MB / 1.126 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.126, allocations: 3.906 kB / 1.126 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.127, allocations: 135.8 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/1.127, allocations: 0 / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/1.127, allocations: 11.98 kB / 1.127 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.127, allocations: 0 / 1.127 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.127, allocations: 2.5 kB / 1.127 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001959/1.129, allocations: 0.8055 MB / 1.127 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002861/1.132, allocations: 1.431 MB / 1.129 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/1.132, allocations: 156 kB / 1.129 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.132, allocations: 0 / 1.129 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/1.133, allocations: 57.45 kB / 1.129 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/1.133, allocations: 32.61 kB / 1.129 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/1.133, allocations: 19.98 kB / 1.129 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007132/1.134, allocations: 371.2 kB / 1.129 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002765/1.137, allocations: 306.3 kB / 1.13 GB, free: 1.617 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * 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 (63): * Single equations (assignments): 62 * 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.0002776/1.137, allocations: 123.1 kB / 1.13 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002167/1.139, allocations: 0.8134 MB / 1.131 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.139, allocations: 0 / 1.131 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/1.14, allocations: 238.3 kB / 1.131 GB, free: 436 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.141, allocations: 141.9 kB / 1.131 GB, free: 308 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/1.144, allocations: 1.041 MB / 1.132 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.146, allocations: 1.073 MB / 1.133 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/1.146, allocations: 0 / 1.133 GB, free: 14.13 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)