Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.138/2.138, 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.001594/0.001594, allocations: 193.2 kB / 360.3 MB, free: 7.516 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.645/1.645, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001252/0.001252, allocations: 91.64 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2415/0.2428, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.7844, allocations: 115.2 MB / 0.9628 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.991, allocations: 138.8 MB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.9914, allocations: 76.98 kB / 1.098 GB, free: 1.957 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.04233/1.034, allocations: 9.712 MB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.034, allocations: 8.5 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/1.034, allocations: 67.25 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/1.035, allocations: 444.5 kB / 1.108 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/1.035, allocations: 16 kB / 1.108 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.035, allocations: 36 kB / 1.108 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008338/1.036, allocations: 257.8 kB / 1.109 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/1.037, allocations: 383 kB / 1.109 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.037, allocations: 0 / 1.109 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/1.037, allocations: 3.938 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/1.037, allocations: 12 kB / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/1.04, allocations: 1.383 MB / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/1.041, allocations: 203.1 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/1.042, allocations: 229.5 kB / 1.111 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/1.042, allocations: 4 kB / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/1.042, allocations: 199.1 kB / 1.111 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.136e-06/1.042, allocations: 0 / 1.111 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0009377/1.043, allocations: 320.9 kB / 1.111 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.043, allocations: 106.8 kB / 1.111 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/1.044, allocations: 278.1 kB / 1.112 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/1.044, allocations: 29.7 kB / 1.112 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/1.044, allocations: 216.8 kB / 1.112 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/1.044, allocations: 130 kB / 1.112 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/1.044, allocations: 8 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.045, allocations: 355.8 kB / 1.112 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/1.045, allocations: 136.8 kB / 1.113 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/1.046, allocations: 209.3 kB / 1.113 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/1.046, allocations: 164.7 kB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.046, allocations: 0 / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001322/1.048, allocations: 423.8 kB / 1.113 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.048, allocations: 0.527 MB / 1.114 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.048, allocations: 4 kB / 1.114 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.048, allocations: 3.906 kB / 1.114 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/1.049, allocations: 95.83 kB / 1.114 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.049, allocations: 4 kB / 1.114 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/1.05, allocations: 85.12 kB / 1.114 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/1.05, allocations: 24 kB / 1.114 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.05, allocations: 4.938 kB / 1.114 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/1.051, allocations: 340.8 kB / 1.114 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.051, allocations: 4 kB / 1.114 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/1.051, allocations: 4 kB / 1.114 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/1.051, allocations: 71.91 kB / 1.114 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.051, allocations: 4.156 kB / 1.114 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.052, allocations: 75.64 kB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/1.052, allocations: 16 kB / 1.115 GB, free: 1.25 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: 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.0001707/1.052, allocations: 117.2 kB / 1.115 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/1.052, allocations: 47.42 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/1.053, allocations: 46.14 kB / 1.115 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.053, allocations: 12.03 kB / 1.115 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.053, allocations: 4 kB / 1.115 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.053, allocations: 0 / 1.115 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.054, allocations: 0.831 MB / 1.116 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.054, allocations: 0 / 1.116 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/1.055, allocations: 79.89 kB / 1.116 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.055, allocations: 4 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/1.055, allocations: 0 / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.055, allocations: 4 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.055, allocations: 3.938 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001308/1.056, allocations: 0.5884 MB / 1.116 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001842/1.058, allocations: 1.121 MB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.059, allocations: 120.6 kB / 1.117 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/1.059, allocations: 7.906 kB / 1.117 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/1.059, allocations: 23.98 kB / 1.117 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/1.059, allocations: 27.89 kB / 1.117 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/1.059, allocations: 12 kB / 1.117 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003611/1.06, allocations: 216.6 kB / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002587/1.062, allocations: 183.1 kB / 1.118 GB, free: 13.72 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.0002515/1.062, allocations: 127.1 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001546/1.064, allocations: 0.5938 MB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.064, allocations: 0 / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/1.064, allocations: 163.9 kB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/1.065, allocations: 67.64 kB / 1.119 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/1.067, allocations: 0.6448 MB / 1.119 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/1.068, allocations: 0.9125 MB / 1.12 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.302e-06/1.068, allocations: 0 / 1.12 GB, free: 11.15 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)