Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",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 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008691/0.0008693, allocations: 90.2 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3212/0.3222, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.4784, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.9318, allocations: 134.8 MB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.9321, allocations: 80.88 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.05211/0.9842, allocations: 22.78 MB / 1.039 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.9842, allocations: 15.94 kB / 1.039 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.9844, allocations: 154.1 kB / 1.039 GB, free: 428 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.9857, allocations: 0.7863 MB / 1.04 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.9857, allocations: 39.98 kB / 1.04 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.9858, allocations: 67.91 kB / 1.04 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001053/0.9869, allocations: 0.6296 MB / 1.04 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.9881, allocations: 0.8518 MB / 1.041 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.9881, allocations: 0 / 1.041 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.9882, allocations: 4 kB / 1.041 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.9882, allocations: 27.94 kB / 1.041 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.9925, allocations: 3.704 MB / 1.045 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.9941, allocations: 0.807 MB / 1.046 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.9946, allocations: 353.8 kB / 1.046 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.9947, allocations: 12.77 kB / 1.046 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.9952, allocations: 328 kB / 1.046 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 3.326e-06/0.9952, allocations: 4 kB / 1.046 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001041/0.9963, allocations: 0.6158 MB / 1.047 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9964, allocations: 218 kB / 1.047 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.9972, allocations: 0.6079 MB / 1.048 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.9973, allocations: 29.7 kB / 1.048 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.9976, allocations: 386.5 kB / 1.048 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.9978, allocations: 295 kB / 1.048 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.9979, allocations: 0 / 1.048 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.998, allocations: 339.8 kB / 1.049 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.9983, allocations: 232.6 kB / 1.049 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.9988, allocations: 389.4 kB / 1.049 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.9992, allocations: 274.6 kB / 1.049 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9992, allocations: 0 / 1.049 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001106/1, allocations: 0.7284 MB / 1.05 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1, allocations: 451.8 kB / 1.051 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1, allocations: 0 / 1.051 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.001, allocations: 8 kB / 1.051 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/1.001, allocations: 219.2 kB / 1.051 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.001, allocations: 4 kB / 1.051 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/1.002, allocations: 143.2 kB / 1.051 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/1.002, allocations: 31.55 kB / 1.051 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/1.002, allocations: 4 kB / 1.051 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008622/1.003, allocations: 0.5573 MB / 1.052 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.003, allocations: 4 kB / 1.052 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/1.003, allocations: 4 kB / 1.052 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/1.004, allocations: 170.9 kB / 1.052 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.004, allocations: 7.938 kB / 1.052 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/1.004, allocations: 103.3 kB / 1.052 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/1.004, allocations: 30.78 kB / 1.052 GB, free: 5.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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 0.0001606/1.004, allocations: 123.1 kB / 1.052 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.005, allocations: 97.84 kB / 1.052 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/1.005, allocations: 100.8 kB / 1.052 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.005, allocations: 15.91 kB / 1.052 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/1.005, allocations: 0 / 1.052 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.005, allocations: 11.97 kB / 1.052 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.006, allocations: 0.8509 MB / 1.053 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.006, allocations: 3.906 kB / 1.053 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/1.007, allocations: 194.5 kB / 1.053 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.453e-06/1.007, allocations: 0 / 1.053 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/1.007, allocations: 4 kB / 1.053 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.007, allocations: 8 kB / 1.053 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.007, allocations: 0 / 1.053 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001403/1.008, allocations: 0.9982 MB / 1.054 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001872/1.01, allocations: 1.721 MB / 1.056 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/1.01, allocations: 182.7 kB / 1.056 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.011, allocations: 11.81 kB / 1.056 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/1.011, allocations: 79.84 kB / 1.056 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.011, allocations: 47.77 kB / 1.056 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/1.011, allocations: 23.8 kB / 1.056 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005085/1.012, allocations: 468.5 kB / 1.057 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001852/1.014, allocations: 357.2 kB / 1.057 GB, free: 1.492 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001927/1.014, allocations: 119.1 kB / 1.057 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001413/1.015, allocations: 0.9819 MB / 1.058 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.015, allocations: 0 / 1.058 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/1.016, allocations: 321.8 kB / 1.058 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/1.017, allocations: 203.9 kB / 1.059 GB, free: 340 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/1.019, allocations: 1.381 MB / 1.06 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009381/1.02, allocations: 1.203 MB / 1.061 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/1.02, allocations: 0 / 1.061 GB, free: 13.86 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)