Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_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 8.0.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.000919/0.0009192, allocations: 181.2 kB / 361.1 MB, free: 7.094 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.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0007513/0.0007513, allocations: 86.5 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1744/0.1752, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.5878, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.7269, allocations: 145.3 MB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.7271, allocations: 72.77 kB / 1.106 GB, free: 10.57 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.04397/0.7711, allocations: 17.47 MB / 1.123 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.7712, allocations: 8.5 kB / 1.123 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.7713, allocations: 100.5 kB / 1.123 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.7723, allocations: 0.5915 MB / 1.123 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.7724, allocations: 88.39 kB / 1.124 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.7725, allocations: 31.91 kB / 1.124 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005935/0.7731, allocations: 338 kB / 1.124 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.7738, allocations: 0.5062 MB / 1.124 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.7738, allocations: 0 / 1.124 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.7739, allocations: 4 kB / 1.124 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.7739, allocations: 12 kB / 1.124 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.7765, allocations: 2.105 MB / 1.126 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.7773, allocations: 421.4 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.7776, allocations: 156.9 kB / 1.127 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.7776, allocations: 4 kB / 1.127 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.778, allocations: 230.3 kB / 1.127 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.834e-06/0.778, allocations: 8 kB / 1.127 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006312/0.7786, allocations: 381.4 kB / 1.128 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.7787, allocations: 187.9 kB / 1.128 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.7792, allocations: 477.1 kB / 1.128 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.7792, allocations: 29.7 kB / 1.128 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.7794, allocations: 256.6 kB / 1.129 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.7795, allocations: 145.8 kB / 1.129 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.7795, allocations: 0 / 1.129 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7797, allocations: 386.8 kB / 1.129 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.7799, allocations: 137.3 kB / 1.129 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.7802, allocations: 268 kB / 1.129 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.7805, allocations: 164.8 kB / 1.13 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7805, allocations: 4 kB / 1.13 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000741/0.7813, allocations: 474.1 kB / 1.13 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003532/0.7816, allocations: 0.9656 MB / 1.131 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7816, allocations: 4 kB / 1.131 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7817, allocations: 9.375 kB / 1.131 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.7822, allocations: 119.9 kB / 1.131 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7822, allocations: 12.88 kB / 1.131 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.7827, allocations: 76.64 kB / 1.131 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.7827, allocations: 16 kB / 1.131 GB, free: 148 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.7827, allocations: 4 kB / 1.131 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005806/0.7833, allocations: 365.6 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7833, allocations: 8.031 kB / 1.132 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.7833, allocations: 4 kB / 1.132 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.7838, allocations: 115.8 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7838, allocations: 12 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.7842, allocations: 67.58 kB / 1.132 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.7843, allocations: 18.06 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001307/0.7844, allocations: 131.8 kB / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.7845, allocations: 67.16 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.7847, allocations: 70.62 kB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7847, allocations: 7.984 kB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7847, allocations: 0 / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7847, allocations: 0 / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.7852, allocations: 0.5795 MB / 1.133 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7853, allocations: 1.688 kB / 1.133 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.7857, allocations: 103.8 kB / 1.133 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.7858, allocations: 4 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.7858, allocations: 2.375 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.7858, allocations: 6.188 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7858, allocations: 0 / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008896/0.7867, allocations: 0.6186 MB / 1.133 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001188/0.7879, allocations: 1.213 MB / 1.135 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.7881, allocations: 200.1 kB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.7882, allocations: 7.906 kB / 1.135 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.7888, allocations: 63.94 kB / 1.135 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.7889, allocations: 27.95 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.7889, allocations: 19.98 kB / 1.135 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003661/0.7893, allocations: 359.2 kB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003135/0.7924, allocations: 219.1 kB / 1.135 GB, free: 11.79 MB / 0.7448 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,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.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 (45): * Single equations (assignments): 43 * 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.0001564/0.7926, allocations: 115 kB / 1.135 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00094/0.7935, allocations: 0.6603 MB / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7935, allocations: 0 / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.7938, allocations: 183.9 kB / 1.136 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.7946, allocations: 158.6 kB / 1.136 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.7964, allocations: 0.8806 MB / 1.137 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.797, allocations: 1.001 MB / 1.138 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.797, allocations: 0 / 1.138 GB, free: 8.73 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)