Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer",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/BuildSysPro 3.5.0/package.mo): time 0.7349/0.7349, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 185.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009345/0.0009349, allocations: 85.59 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3453/0.3463, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.5338, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5351/1.069, allocations: 110.1 MB / 0.7285 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.069, allocations: 83.95 kB / 0.7286 GB, free: 2.246 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.02288/1.092, allocations: 8.191 MB / 0.7366 GB, free: 10 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.092, allocations: 12 kB / 0.7366 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/1.092, allocations: 55.34 kB / 0.7366 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/1.093, allocations: 403.4 kB / 0.737 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/1.093, allocations: 16 kB / 0.737 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/1.093, allocations: 23.94 kB / 0.7371 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005731/1.094, allocations: 229.5 kB / 0.7373 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/1.095, allocations: 345.6 kB / 0.7376 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/1.095, allocations: 0 / 0.7376 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/1.095, allocations: 4 kB / 0.7376 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/1.095, allocations: 8 kB / 0.7376 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/1.097, allocations: 1.307 MB / 0.7389 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/1.098, allocations: 209.8 kB / 0.7391 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/1.098, allocations: 113.8 kB / 0.7392 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/1.098, allocations: 4 kB / 0.7392 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/1.098, allocations: 157.9 kB / 0.7394 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/1.098, allocations: 0 / 0.7394 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0005906/1.099, allocations: 259 kB / 0.7396 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.099, allocations: 141.4 kB / 0.7397 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/1.099, allocations: 278 kB / 0.74 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/1.1, allocations: 29.7 kB / 0.74 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.1, allocations: 195 kB / 0.7402 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.774e-05/1.1, allocations: 94.56 kB / 0.7403 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/1.1, allocations: 4 kB / 0.7403 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.1, allocations: 346.8 kB / 0.7407 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/1.1, allocations: 88 kB / 0.7407 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/1.1, allocations: 163.1 kB / 0.7409 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/1.101, allocations: 101.5 kB / 0.741 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.101, allocations: 3.938 kB / 0.741 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005234/1.101, allocations: 294.3 kB / 0.7413 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/1.101, allocations: 453.3 kB / 0.7417 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.101, allocations: 0 / 0.7417 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.101, allocations: 4 kB / 0.7417 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/1.102, allocations: 71.91 kB / 0.7418 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.102, allocations: 15.83 kB / 0.7418 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/1.102, allocations: 35.83 kB / 0.7418 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.102, allocations: 8 kB / 0.7418 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.102, allocations: 4 kB / 0.7418 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003976/1.102, allocations: 224.1 kB / 0.7421 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/1.103, allocations: 0 / 0.7421 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/1.103, allocations: 4.219 kB / 0.7421 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/1.103, allocations: 64.03 kB / 0.7421 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.103, allocations: 7.938 kB / 0.7421 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/1.103, allocations: 35.67 kB / 0.7422 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/1.103, allocations: 12 kB / 0.7422 GB, free: 4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001333/1.103, allocations: 120.9 kB / 0.7423 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.103, allocations: 35.53 kB / 0.7423 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.103, allocations: 40.06 kB / 0.7424 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.103, allocations: 4 kB / 0.7424 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.103, allocations: 0 / 0.7424 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.103, allocations: 7.984 kB / 0.7424 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/1.105, allocations: 0.7329 MB / 0.7431 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.105, allocations: 7.938 kB / 0.7431 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/1.105, allocations: 59.88 kB / 0.7431 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.105, allocations: 0 / 0.7431 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/1.105, allocations: 0 / 0.7431 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.105, allocations: 7.984 kB / 0.7432 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.105, allocations: 0 / 0.7432 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006999/1.106, allocations: 491.3 kB / 0.7436 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001019/1.107, allocations: 0.9805 MB / 0.7446 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/1.107, allocations: 144.5 kB / 0.7447 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/1.107, allocations: 4 kB / 0.7447 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/1.107, allocations: 28.11 kB / 0.7448 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.107, allocations: 23.95 kB / 0.7448 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/1.107, allocations: 8 kB / 0.7448 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002759/1.108, allocations: 212.6 kB / 0.745 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001823/1.109, allocations: 143.4 kB / 0.7451 GB, free: 0.8711 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001781/1.11, allocations: 122.2 kB / 0.7452 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006986/1.11, allocations: 390.2 kB / 0.7456 GB, free: 376 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.11, allocations: 0 / 0.7456 GB, free: 376 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/1.111, allocations: 127.8 kB / 0.7457 GB, free: 248 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/1.111, allocations: 80.56 kB / 0.7458 GB, free: 172 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.113, allocations: 0.5673 MB / 0.7464 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/1.113, allocations: 0.8663 MB / 0.7472 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of SimCode: time 2.705e-06/1.113, allocations: 0 / 0.7472 GB, free: 14.68 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)