Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.000882/0.000882, allocations: 177.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9899/0.9899, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0007471/0.0007471, allocations: 92.19 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.1777, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.5855, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.7253, allocations: 145.7 MB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.7256, allocations: 79.42 kB / 1.106 GB, free: 10.16 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.04974/0.7754, allocations: 20.54 MB / 1.126 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.7754, allocations: 11.75 kB / 1.126 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.7756, allocations: 126.5 kB / 1.126 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7767, allocations: 0.7385 MB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.7768, allocations: 59.7 kB / 1.127 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.7769, allocations: 44 kB / 1.127 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007349/0.7777, allocations: 448 kB / 1.128 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.7785, allocations: 0.6299 MB / 1.128 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.7785, allocations: 2.156 kB / 1.128 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.7786, allocations: 0 / 1.128 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.7786, allocations: 20 kB / 1.128 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.7814, allocations: 2.206 MB / 1.13 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.7823, allocations: 0.5497 MB / 1.131 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.7826, allocations: 206.4 kB / 1.131 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.7827, allocations: 8.484 kB / 1.131 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.7831, allocations: 277.2 kB / 1.131 GB, free: 244 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 1.613e-06/0.7831, allocations: 0 / 1.131 GB, free: 244 kB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.0007486/0.7838, allocations: 491.9 kB / 1.132 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.7839, allocations: 141 kB / 1.132 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.7845, allocations: 0.5592 MB / 1.132 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.7845, allocations: 29.7 kB / 1.133 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.7847, allocations: 300.1 kB / 1.133 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.7848, allocations: 197 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.7848, allocations: 0 / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.7849, allocations: 334 kB / 1.133 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.7852, allocations: 165.3 kB / 1.133 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.7855, allocations: 289 kB / 1.134 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.7858, allocations: 195.2 kB / 1.134 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7858, allocations: 0 / 1.134 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007942/0.7866, allocations: 0.5573 MB / 1.134 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.7869, allocations: 0.8856 MB / 1.135 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7869, allocations: 6.844 kB / 1.135 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.787, allocations: 8 kB / 1.135 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.7878, allocations: 155.8 kB / 1.135 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.7878, allocations: 11.94 kB / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.7883, allocations: 71.48 kB / 1.136 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.7884, allocations: 20 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-06/0.7884, allocations: 8 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006684/0.7891, allocations: 438.2 kB / 1.136 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.7891, allocations: 7.938 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.7891, allocations: 4 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.7898, allocations: 160 kB / 1.136 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.7899, allocations: 8 kB / 1.136 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.7903, allocations: 55.56 kB / 1.136 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.7904, allocations: 29.33 kB / 1.136 GB, free: 11 MB / 0.7448 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.0001349/0.7905, allocations: 127.6 kB / 1.136 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.7906, allocations: 90.88 kB / 1.136 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.7908, allocations: 95.12 kB / 1.137 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7908, allocations: 4 kB / 1.137 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.7908, allocations: 4 kB / 1.137 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7908, allocations: 3.984 kB / 1.137 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.7925, allocations: 1.319 MB / 1.138 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7925, allocations: 0 / 1.138 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.7931, allocations: 111.9 kB / 1.138 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7931, allocations: 4 kB / 1.138 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.7932, allocations: 4 kB / 1.138 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.7932, allocations: 4 kB / 1.138 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7932, allocations: 0 / 1.138 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001087/0.7943, allocations: 0.8712 MB / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001509/0.7958, allocations: 1.523 MB / 1.14 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.796, allocations: 227.8 kB / 1.141 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7961, allocations: 4 kB / 1.141 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.7967, allocations: 43.95 kB / 1.141 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.7968, allocations: 36.45 kB / 1.141 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.7968, allocations: 19.98 kB / 1.141 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004257/0.7972, allocations: 431.2 kB / 1.141 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001728/0.799, allocations: 278.7 kB / 1.141 GB, free: 5.73 MB / 0.7448 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.0001352/0.7991, allocations: 118.9 kB / 1.141 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.8002, allocations: 0.7511 MB / 1.142 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8002, allocations: 0 / 1.142 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.8005, allocations: 241.8 kB / 1.142 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.8014, allocations: 195.9 kB / 1.143 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.8036, allocations: 1.185 MB / 1.144 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.8043, allocations: 1.101 MB / 1.145 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.8043, allocations: 0 / 1.145 GB, free: 2.094 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)