Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.773/1.773, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 181.1 kB / 490.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.1/1.1, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008291, allocations: 92.53 kB / 0.9264 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2341/0.235, allocations: 149.1 MB / 1.072 GB, free: 15.52 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.7792, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.926, allocations: 157.6 MB / 1.366 GB, free: 34.04 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/0.9262, allocations: 77.08 kB / 1.366 GB, free: 33.96 MB / 0.8855 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.0443/0.9705, allocations: 20.51 MB / 1.386 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.9705, allocations: 12 kB / 1.386 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.9707, allocations: 122.5 kB / 1.386 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.9718, allocations: 0.7269 MB / 1.386 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.9719, allocations: 59.7 kB / 1.387 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.972, allocations: 47.84 kB / 1.387 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007064/0.9727, allocations: 452 kB / 1.387 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.9735, allocations: 0.622 MB / 1.388 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.9735, allocations: 0 / 1.388 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.9736, allocations: 8 kB / 1.388 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.9736, allocations: 16 kB / 1.388 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.9761, allocations: 2.202 MB / 1.39 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/0.977, allocations: 0.549 MB / 1.39 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.9773, allocations: 202.4 kB / 1.391 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.9774, allocations: 10.83 kB / 1.391 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.9777, allocations: 273.5 kB / 1.391 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 1.853e-06/0.9777, allocations: 0 / 1.391 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.0007064/0.9784, allocations: 499.9 kB / 1.391 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.9785, allocations: 137 kB / 1.391 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.979, allocations: 0.5514 MB / 1.392 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.9791, allocations: 29.64 kB / 1.392 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9792, allocations: 300.1 kB / 1.392 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.9793, allocations: 197 kB / 1.392 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.9793, allocations: 0 / 1.392 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.9794, allocations: 326 kB / 1.393 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.9796, allocations: 177.2 kB / 1.393 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.9799, allocations: 281 kB / 1.393 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.9802, allocations: 203.1 kB / 1.393 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9802, allocations: 0 / 1.393 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007377/0.981, allocations: 0.5535 MB / 1.394 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.9811, allocations: 0.8756 MB / 1.395 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9811, allocations: 11.98 kB / 1.395 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9811, allocations: 4 kB / 1.395 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.982, allocations: 166.6 kB / 1.395 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.982, allocations: 9.797 kB / 1.395 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.9825, allocations: 71.58 kB / 1.395 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.9825, allocations: 20 kB / 1.395 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.9825, allocations: 4 kB / 1.395 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006289/0.9832, allocations: 450.1 kB / 1.395 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.9832, allocations: 5.781 kB / 1.395 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.9832, allocations: 8 kB / 1.395 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.984, allocations: 160 kB / 1.396 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.984, allocations: 4 kB / 1.396 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.9844, allocations: 59.56 kB / 1.396 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.9845, allocations: 20 kB / 1.396 GB, free: 2.891 MB / 0.8855 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.0001058/0.9846, allocations: 123.5 kB / 1.396 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.9847, allocations: 86.88 kB / 1.396 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.9848, allocations: 96.48 kB / 1.396 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.9848, allocations: 12 kB / 1.396 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9849, allocations: 0 / 1.396 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.9849, allocations: 0 / 1.396 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.9863, allocations: 1.312 MB / 1.397 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9863, allocations: 0 / 1.397 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.9869, allocations: 115.8 kB / 1.397 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.9869, allocations: 4 kB / 1.397 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.9869, allocations: 3.984 kB / 1.397 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9869, allocations: 7.906 kB / 1.397 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.987, allocations: 1.688 kB / 1.397 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009792/0.9879, allocations: 0.8713 MB / 1.398 GB, free: 204 kB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001668/0.9896, allocations: 1.523 MB / 1.4 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.9899, allocations: 227.8 kB / 1.4 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.99, allocations: 7.984 kB / 1.4 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.9906, allocations: 47.95 kB / 1.4 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.9906, allocations: 32.45 kB / 1.4 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.9907, allocations: 19.98 kB / 1.4 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0004744/0.9912, allocations: 431.2 kB / 1.4 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001859/0.993, allocations: 270.7 kB / 1.401 GB, free: 13.62 MB / 0.9011 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.0001479/0.9932, allocations: 107.2 kB / 1.401 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.9943, allocations: 0.7505 MB / 1.402 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9943, allocations: 0 / 1.402 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.9947, allocations: 241.8 kB / 1.402 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/0.9956, allocations: 212 kB / 1.402 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.998, allocations: 1.165 MB / 1.403 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000711/0.9987, allocations: 1.1 MB / 1.404 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of SimCode: time 2.6e-07/0.9987, allocations: 3.938 kB / 1.404 GB, free: 9.992 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)