Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",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.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.001014/0.001014, allocations: 180.4 kB / 316 MB, free: 3.535 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.216/1.216, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008586/0.0008588, allocations: 94.5 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3405/0.3414, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.495, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.9638, allocations: 140.4 MB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.964, allocations: 74.77 kB / 1.022 GB, free: 14.54 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.05248/1.017, allocations: 20.55 MB / 1.042 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/1.017, allocations: 8 kB / 1.042 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/1.017, allocations: 126.5 kB / 1.042 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.018, allocations: 0.7356 MB / 1.043 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/1.018, allocations: 63.7 kB / 1.043 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/1.018, allocations: 43.91 kB / 1.043 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007228/1.019, allocations: 447.3 kB / 1.043 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000856/1.02, allocations: 0.6225 MB / 1.044 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.02, allocations: 0 / 1.044 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/1.02, allocations: 11.55 kB / 1.044 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/1.02, allocations: 16 kB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/1.023, allocations: 2.201 MB / 1.046 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/1.024, allocations: 0.5362 MB / 1.047 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/1.024, allocations: 211 kB / 1.047 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.752e-05/1.024, allocations: 8.484 kB / 1.047 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/1.025, allocations: 279 kB / 1.047 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/1.025, allocations: 0 / 1.047 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.0008654/1.025, allocations: 499 kB / 1.048 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/1.026, allocations: 133 kB / 1.048 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/1.026, allocations: 0.5552 MB / 1.048 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/1.026, allocations: 33.7 kB / 1.048 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/1.027, allocations: 301 kB / 1.049 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/1.027, allocations: 198.6 kB / 1.049 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/1.027, allocations: 0 / 1.049 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.027, allocations: 332.8 kB / 1.049 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/1.027, allocations: 163.8 kB / 1.049 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/1.027, allocations: 283 kB / 1.049 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/1.028, allocations: 198.2 kB / 1.05 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.028, allocations: 3.906 kB / 1.05 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008892/1.029, allocations: 0.5621 MB / 1.05 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002801/1.029, allocations: 0.8774 MB / 1.051 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.029, allocations: 4 kB / 1.051 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.029, allocations: 4 kB / 1.051 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/1.03, allocations: 166.8 kB / 1.051 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.03, allocations: 11.84 kB / 1.051 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/1.03, allocations: 75.48 kB / 1.051 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/1.031, allocations: 19.38 kB / 1.051 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/1.031, allocations: 4 kB / 1.051 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006736/1.031, allocations: 446.8 kB / 1.052 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.031, allocations: 4 kB / 1.052 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/1.031, allocations: 7.938 kB / 1.052 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/1.032, allocations: 159.8 kB / 1.052 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.032, allocations: 4 kB / 1.052 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/1.033, allocations: 62.88 kB / 1.052 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/1.033, allocations: 19.55 kB / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001471/1.033, allocations: 120.8 kB / 1.052 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/1.033, allocations: 86.88 kB / 1.052 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/1.033, allocations: 94 kB / 1.052 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.033, allocations: 4 kB / 1.052 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.033, allocations: 4.141 kB / 1.052 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.033, allocations: 11.97 kB / 1.052 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/1.035, allocations: 1.316 MB / 1.054 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.035, allocations: 0 / 1.054 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/1.036, allocations: 115.2 kB / 1.054 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.036, allocations: 4 kB / 1.054 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/1.036, allocations: 3.938 kB / 1.054 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.036, allocations: 4 kB / 1.054 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.036, allocations: 0 / 1.054 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001175/1.037, allocations: 0.8761 MB / 1.055 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00155/1.039, allocations: 1.519 MB / 1.056 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/1.039, allocations: 219.9 kB / 1.056 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.039, allocations: 11.53 kB / 1.056 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/1.039, allocations: 43.95 kB / 1.056 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/1.04, allocations: 31.89 kB / 1.056 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/1.04, allocations: 23.17 kB / 1.056 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004421/1.04, allocations: 432.7 kB / 1.057 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001812/1.042, allocations: 276.5 kB / 1.057 GB, free: 0.832 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001608/1.042, allocations: 114.8 kB / 1.057 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.043, allocations: 0.737 MB / 1.058 GB, free: 240 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.043, allocations: 12.06 kB / 1.058 GB, free: 228 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/1.043, allocations: 238.4 kB / 1.058 GB, free: 72 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/1.044, allocations: 203.4 kB / 1.058 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/1.047, allocations: 1.174 MB / 1.059 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/1.048, allocations: 1.099 MB / 1.061 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/1.048, allocations: 0 / 1.061 GB, free: 13.72 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)