Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") [: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 3.0.0/package.mo): time 0.732/0.732, allocations: 132.4 MB / 139.7 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001149/0.001149, allocations: 170.1 kB / 171.6 MB, free: 1.988 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.554/1.554, allocations: 170.5 MB / 373.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001948/0.001948, allocations: 118.5 kB / 444.4 MB, free: 9.316 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6028/0.6028, allocations: 73.4 MB / 0.666 GB, free: 62.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.7635, allocations: 101.5 MB / 0.7652 GB, free: 2.664 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.7639, allocations: 80.3 kB / 0.7652 GB, free: 2.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003099/0.767, allocations: 0.7522 MB / 0.766 GB, free: 1.863 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.767, allocations: 0 / 0.766 GB, free: 1.863 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005641/0.7676, allocations: 356.4 kB / 0.7663 GB, free: 1.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.7677, allocations: 8.781 kB / 0.7663 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.7677, allocations: 7.906 kB / 0.7663 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.7679, allocations: 163.1 kB / 0.7665 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.768, allocations: 6.906 kB / 0.7665 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.768, allocations: 4 kB / 0.7665 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.7681, allocations: 23.98 kB / 0.7665 GB, free: 1.227 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.7682, allocations: 51.59 kB / 0.7666 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7683, allocations: 0 / 0.7666 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.7683, allocations: 4 kB / 0.7666 GB, free: 1.168 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.7683, allocations: 4 kB / 0.7666 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.7689, allocations: 269.3 kB / 0.7668 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.769, allocations: 54.64 kB / 0.7669 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.7691, allocations: 22.73 kB / 0.7669 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.7691, allocations: 4 kB / 0.7669 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.7692, allocations: 68.77 kB / 0.767 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.7693, allocations: 0.9844 kB / 0.767 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002107/0.7695, allocations: 65.62 kB / 0.767 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.7695, allocations: 63.41 kB / 0.7671 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.7696, allocations: 96.91 kB / 0.7672 GB, free: 464 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.7696, allocations: 29.69 kB / 0.7672 GB, free: 428 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.7697, allocations: 86.77 kB / 0.7673 GB, free: 340 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.7697, allocations: 19.72 kB / 0.7673 GB, free: 320 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.7698, allocations: 0 / 0.7673 GB, free: 320 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.77, allocations: 318.8 kB / 0.7676 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.77, allocations: 14.73 kB / 0.7676 GB, free: 15.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.7701, allocations: 43.44 kB / 0.7677 GB, free: 15.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.7701, allocations: 19.92 kB / 0.7677 GB, free: 15.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7701, allocations: 4 kB / 0.7677 GB, free: 15.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001323/0.7703, allocations: 82.66 kB / 0.7678 GB, free: 15.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7703, allocations: 8.609 kB / 0.7678 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7703, allocations: 0 / 0.7678 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7703, allocations: 4 kB / 0.7678 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.7704, allocations: 15.12 kB / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.7704, allocations: 0 / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.7705, allocations: 15.89 kB / 0.7678 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.7705, allocations: 4 kB / 0.7678 GB, free: 15.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001011/0.7706, allocations: 110.8 kB / 0.7679 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.7707, allocations: 7.906 kB / 0.7679 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.7707, allocations: 5.938 kB / 0.7679 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7707, allocations: 4 kB / 0.768 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7707, allocations: 4 kB / 0.768 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7707, allocations: 0 / 0.768 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.7711, allocations: 326.9 kB / 0.7683 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.7711, allocations: 8 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.7712, allocations: 3.938 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7712, allocations: 4 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.7712, allocations: 0 / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7712, allocations: 0 / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7712, allocations: 0 / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001556/0.7714, allocations: 171.4 kB / 0.7684 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.7714, allocations: 82.56 kB / 0.7685 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.7715, allocations: 9.125 kB / 0.7685 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.7716, allocations: 9.547 kB / 0.7685 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.7716, allocations: 7.984 kB / 0.7685 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7716, allocations: 4 kB / 0.7686 GB, free: 14.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.076e-05/0.7717, allocations: 79.28 kB / 0.7686 GB, free: 14.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.7719, allocations: 12 kB / 0.7686 GB, free: 14.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001151/0.772, allocations: 103.2 kB / 0.7687 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.7722, allocations: 47.92 kB / 0.7688 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7722, allocations: 0 / 0.7688 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.7722, allocations: 26.06 kB / 0.7688 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7725, allocations: 9.281 kB / 0.7688 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.7729, allocations: 115.6 kB / 0.7689 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.7733, allocations: 0.6997 MB / 0.7696 GB, free: 13.81 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7733, allocations: 0 / 0.7696 GB, free: 13.81 MB / 490.7 MB Notification: Performance of Templates: time 0.002998/0.7763, allocations: 0.7096 MB / 0.7703 GB, free: 13.14 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)