Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.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.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.001003/0.001003, allocations: 193.1 kB / 316 MB, free: 3.578 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.156/1.156, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008015/0.0008014, allocations: 85.77 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3347/0.3355, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.4895, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4869/0.9764, allocations: 140.1 MB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.9767, allocations: 83.14 kB / 1.022 GB, free: 14.63 MB / 0.6511 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.04673/1.023, allocations: 17.46 MB / 1.039 GB, free: 40 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/1.024, allocations: 8 kB / 1.039 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/1.024, allocations: 94.92 kB / 1.039 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/1.025, allocations: 0.6004 MB / 1.039 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.025, allocations: 84.39 kB / 1.039 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/1.025, allocations: 32 kB / 1.039 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006215/1.025, allocations: 338.8 kB / 1.04 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/1.026, allocations: 0.5065 MB / 1.04 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.026, allocations: 3.938 kB / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/1.026, allocations: 0 / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/1.026, allocations: 12 kB / 1.04 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/1.029, allocations: 2.107 MB / 1.042 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/1.03, allocations: 412.3 kB / 1.043 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/1.03, allocations: 161.3 kB / 1.043 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/1.03, allocations: 6.156 kB / 1.043 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/1.03, allocations: 221.2 kB / 1.043 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/1.03, allocations: 0 / 1.043 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.0007418/1.031, allocations: 393.2 kB / 1.043 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.031, allocations: 195.1 kB / 1.044 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/1.032, allocations: 474.6 kB / 1.044 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/1.032, allocations: 25.7 kB / 1.044 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/1.032, allocations: 253.3 kB / 1.044 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.032, allocations: 151.2 kB / 1.044 GB, free: 11 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/1.032, allocations: 7.938 kB / 1.044 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.033, allocations: 380.9 kB / 1.045 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/1.033, allocations: 138.4 kB / 1.045 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/1.033, allocations: 267.3 kB / 1.045 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/1.033, allocations: 170.6 kB / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.033, allocations: 4 kB / 1.045 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007219/1.034, allocations: 473.7 kB / 1.046 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003606/1.035, allocations: 0.9565 MB / 1.047 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.035, allocations: 11.98 kB / 1.047 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.035, allocations: 4 kB / 1.047 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/1.035, allocations: 123.2 kB / 1.047 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.035, allocations: 11.91 kB / 1.047 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/1.036, allocations: 67.64 kB / 1.047 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/1.036, allocations: 19.69 kB / 1.047 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/1.036, allocations: 6.812 kB / 1.047 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005798/1.036, allocations: 373.7 kB / 1.047 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.036, allocations: 4 kB / 1.047 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/1.036, allocations: 4 kB / 1.047 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/1.037, allocations: 115.3 kB / 1.047 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.037, allocations: 11.84 kB / 1.047 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/1.037, allocations: 63.66 kB / 1.048 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/1.037, allocations: 20.98 kB / 1.048 GB, free: 8.176 MB / 0.6667 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.0001391/1.037, allocations: 122.5 kB / 1.048 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/1.038, allocations: 75.06 kB / 1.048 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/1.038, allocations: 66.81 kB / 1.048 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.038, allocations: 8 kB / 1.048 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.038, allocations: 4 kB / 1.048 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.038, allocations: 3.984 kB / 1.048 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/1.038, allocations: 0.5791 MB / 1.048 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.038, allocations: 0 / 1.048 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/1.039, allocations: 98.89 kB / 1.048 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.039, allocations: 11.92 kB / 1.048 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.039, allocations: 0 / 1.048 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.039, allocations: 4 kB / 1.049 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.039, allocations: 0 / 1.049 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00097/1.04, allocations: 0.6169 MB / 1.049 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001199/1.041, allocations: 1.214 MB / 1.05 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/1.041, allocations: 207.4 kB / 1.05 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/1.041, allocations: 0 / 1.05 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/1.042, allocations: 63.95 kB / 1.051 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/1.042, allocations: 31.75 kB / 1.051 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.042, allocations: 11.5 kB / 1.051 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004455/1.043, allocations: 367 kB / 1.051 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001902/1.045, allocations: 218.6 kB / 1.051 GB, free: 5.219 MB / 0.6667 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.0001729/1.045, allocations: 111.1 kB / 1.051 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009399/1.046, allocations: 0.6588 MB / 1.052 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.046, allocations: 0 / 1.052 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/1.046, allocations: 187 kB / 1.052 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/1.047, allocations: 159.1 kB / 1.052 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.049, allocations: 0.888 MB / 1.053 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/1.049, allocations: 0.9967 MB / 1.054 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/1.049, allocations: 0 / 1.054 GB, free: 2.57 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)