Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.42/1.42, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001003/0.001003, allocations: 180.8 kB / 366.3 MB, free: 1.977 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.168/1.168, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.001021/0.001021, allocations: 89.48 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2162/0.2173, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.6826, allocations: 116.3 MB / 0.9726 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.8374, allocations: 146.7 MB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.8377, allocations: 79.95 kB / 1.116 GB, free: 1.707 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.05364/0.8913, allocations: 20.54 MB / 1.136 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8914, allocations: 12 kB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.8917, allocations: 122.5 kB / 1.136 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.8931, allocations: 0.7385 MB / 1.137 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.8932, allocations: 59.7 kB / 1.137 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/0.8933, allocations: 40 kB / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008236/0.8941, allocations: 453.3 kB / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.8951, allocations: 0.6221 MB / 1.138 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.8951, allocations: 3.938 kB / 1.138 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.8951, allocations: 4 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.8952, allocations: 16 kB / 1.138 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.8985, allocations: 2.21 MB / 1.14 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.8995, allocations: 0.5444 MB / 1.141 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.8998, allocations: 210.3 kB / 1.141 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.8999, allocations: 8.5 kB / 1.141 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.9003, allocations: 269.3 kB / 1.141 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/0.9003, allocations: 0 / 1.141 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0008616/0.9012, allocations: 0.492 MB / 1.142 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.9013, allocations: 133 kB / 1.142 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.902, allocations: 0.565 MB / 1.142 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.9021, allocations: 25.7 kB / 1.142 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.9023, allocations: 304.1 kB / 1.143 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.9025, allocations: 193 kB / 1.143 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.9025, allocations: 0 / 1.143 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9026, allocations: 326 kB / 1.143 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.9029, allocations: 177.3 kB / 1.143 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.9033, allocations: 277 kB / 1.144 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.9037, allocations: 199.1 kB / 1.144 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9037, allocations: 0 / 1.144 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009128/0.9046, allocations: 0.5575 MB / 1.144 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.9049, allocations: 0.8833 MB / 1.145 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.9049, allocations: 5.953 kB / 1.145 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.905, allocations: 4 kB / 1.145 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.9059, allocations: 167.8 kB / 1.145 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.9059, allocations: 4 kB / 1.145 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.9064, allocations: 71.48 kB / 1.145 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.9065, allocations: 20 kB / 1.145 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.9065, allocations: 4 kB / 1.145 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007596/0.9073, allocations: 450.2 kB / 1.146 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9073, allocations: 4 kB / 1.146 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.9073, allocations: 6.062 kB / 1.146 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.9081, allocations: 160 kB / 1.146 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.9081, allocations: 7.938 kB / 1.146 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.9086, allocations: 67.55 kB / 1.146 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.9087, allocations: 23.94 kB / 1.146 GB, free: 2.398 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.0001461/0.9089, allocations: 120.7 kB / 1.146 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.909, allocations: 86.88 kB / 1.146 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.9092, allocations: 96.56 kB / 1.146 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9092, allocations: 4 kB / 1.146 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9092, allocations: 4 kB / 1.146 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9092, allocations: 3.984 kB / 1.146 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.9112, allocations: 1.316 MB / 1.148 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9112, allocations: 0 / 1.148 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.9118, allocations: 111.8 kB / 1.148 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.9119, allocations: 4 kB / 1.148 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.9119, allocations: 4 kB / 1.148 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9119, allocations: 4 kB / 1.148 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9119, allocations: 4 kB / 1.148 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001324/0.9133, allocations: 0.8635 MB / 1.149 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001837/0.9151, allocations: 1.527 MB / 1.15 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.9154, allocations: 223.8 kB / 1.15 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.9156, allocations: 8 kB / 1.15 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.9161, allocations: 48.98 kB / 1.15 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.9162, allocations: 28.45 kB / 1.15 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.9163, allocations: 19.98 kB / 1.15 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0005033/0.9168, allocations: 435.1 kB / 1.151 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001957/0.9188, allocations: 272.5 kB / 1.151 GB, free: 13.14 MB / 0.7605 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.0001735/0.9189, allocations: 118.4 kB / 1.151 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.9202, allocations: 0.7467 MB / 1.152 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9202, allocations: 1.781 kB / 1.152 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.9206, allocations: 237.8 kB / 1.152 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.9216, allocations: 207 kB / 1.152 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.9242, allocations: 1.184 MB / 1.154 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009112/0.9251, allocations: 1.1 MB / 1.155 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of SimCode: time 3.2e-07/0.9251, allocations: 0 / 1.155 GB, free: 9.488 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)