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: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") [: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.6986/0.6986, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001121/0.001121, allocations: 173.3 kB / 164.4 MB, free: 6.898 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.404/1.404, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.0009625/0.0009625, allocations: 83.19 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.272e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.5972, allocations: 110.1 MB / 0.7284 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5975, allocations: 79.95 kB / 0.7285 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01936/0.6169, allocations: 7.526 MB / 0.7358 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.979e-05/0.6169, allocations: 8 kB / 0.7358 GB, free: 10.69 MB / 0.4948 GB 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.0009576/0.6179, allocations: 0.6523 MB / 0.7365 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6179, allocations: 8.969 kB / 0.7365 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.6181, allocations: 55.34 kB / 0.7365 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.6186, allocations: 407.3 kB / 0.7369 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.6187, allocations: 16 kB / 0.7369 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.6187, allocations: 20 kB / 0.737 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004403/0.6192, allocations: 233.5 kB / 0.7372 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.6197, allocations: 349.6 kB / 0.7375 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.6197, allocations: 4.219 kB / 0.7375 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.6198, allocations: 0 / 0.7375 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.6198, allocations: 15.94 kB / 0.7375 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.6215, allocations: 1.303 MB / 0.7388 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.6219, allocations: 209.8 kB / 0.739 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6221, allocations: 113.8 kB / 0.7391 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.6221, allocations: 4 kB / 0.7391 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.6223, allocations: 165.2 kB / 0.7393 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/0.6224, allocations: 3.984 kB / 0.7393 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0004449/0.6228, allocations: 251 kB / 0.7395 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.6229, allocations: 137.1 kB / 0.7397 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.6232, allocations: 278 kB / 0.7399 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.6232, allocations: 33.7 kB / 0.74 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.6234, allocations: 188.3 kB / 0.7401 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.6234, allocations: 102.6 kB / 0.7402 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.6235, allocations: 0 / 0.7402 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6236, allocations: 346.8 kB / 0.7406 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.6237, allocations: 88 kB / 0.7406 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.6239, allocations: 163.1 kB / 0.7408 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.6241, allocations: 93.61 kB / 0.7409 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6241, allocations: 0 / 0.7409 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004396/0.6246, allocations: 294.3 kB / 0.7412 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.6247, allocations: 453.3 kB / 0.7416 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6247, allocations: 0 / 0.7416 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6248, allocations: 4 kB / 0.7416 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.6251, allocations: 79.83 kB / 0.7417 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6251, allocations: 7.891 kB / 0.7417 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.6253, allocations: 39.83 kB / 0.7417 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.6253, allocations: 12 kB / 0.7417 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.6254, allocations: 4 kB / 0.7417 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003606/0.6257, allocations: 220.1 kB / 0.742 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.6257, allocations: 4 kB / 0.742 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.6257, allocations: 0 / 0.742 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.626, allocations: 67.97 kB / 0.742 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.626, allocations: 7.938 kB / 0.742 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6262, allocations: 35.67 kB / 0.7421 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.6262, allocations: 12 kB / 0.7421 GB, free: 3.98 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.0001047/0.6264, allocations: 120.9 kB / 0.7422 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.6264, allocations: 35.53 kB / 0.7422 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.949e-05/0.6265, allocations: 40.05 kB / 0.7423 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6265, allocations: 4 kB / 0.7423 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6265, allocations: 0 / 0.7423 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6265, allocations: 0 / 0.7423 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.6275, allocations: 0.7445 MB / 0.743 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6275, allocations: 3.906 kB / 0.743 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.6278, allocations: 59.84 kB / 0.7431 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6278, allocations: 0 / 0.7431 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.6278, allocations: 7.984 kB / 0.7431 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.6278, allocations: 4 kB / 0.7431 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6279, allocations: 0 / 0.7431 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006208/0.6285, allocations: 491.4 kB / 0.7435 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6286, allocations: 140.5 kB / 0.7437 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.6287, allocations: 4 kB / 0.7437 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.629, allocations: 32.03 kB / 0.7437 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.629, allocations: 23.88 kB / 0.7437 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.6291, allocations: 15.98 kB / 0.7437 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002016/0.6293, allocations: 208.6 kB / 0.7439 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004845/0.6298, allocations: 139.5 kB / 0.7441 GB, free: 1.848 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.0001421/0.6299, allocations: 118.3 kB / 0.7442 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.6305, allocations: 390 kB / 0.7446 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6305, allocations: 0 / 0.7446 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.6307, allocations: 123.9 kB / 0.7447 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.6312, allocations: 72.89 kB / 0.7447 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.6324, allocations: 0.5712 MB / 0.7453 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.6329, allocations: 0.8624 MB / 0.7461 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.633, allocations: 0 / 0.7461 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.01054/0.6435, allocations: 5.459 MB / 0.7515 GB, free: 10.24 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)