Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") [: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.7704/0.7704, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001401/0.001402, allocations: 171 kB / 171.6 MB, free: 2.004 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.566/1.566, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001624/0.001624, allocations: 112.5 kB / 444.4 MB, free: 9.371 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.4978/0.4978, allocations: 73.4 MB / 0.666 GB, free: 62.66 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.6378, allocations: 100.1 MB / 0.7638 GB, free: 4.172 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.6381, allocations: 67.95 kB / 0.7639 GB, free: 4.105 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.001247/0.6394, allocations: 239.8 kB / 0.7641 GB, free: 3.883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.6394, allocations: 4 kB / 0.7641 GB, free: 3.879 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002352/0.6396, allocations: 310 kB / 0.7644 GB, free: 3.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6397, allocations: 8.688 kB / 0.7644 GB, free: 3.527 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.6399, allocations: 16.62 kB / 0.7644 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.64, allocations: 169 kB / 0.7646 GB, free: 3.309 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.64, allocations: 4.281 kB / 0.7646 GB, free: 3.309 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.64, allocations: 4 kB / 0.7646 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.215e-05/0.6401, allocations: 0 / 0.7646 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.6402, allocations: 33.69 kB / 0.7646 GB, free: 3.266 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.6402, allocations: 0 / 0.7646 GB, free: 3.266 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6402, allocations: 5.062 kB / 0.7646 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6402, allocations: 0 / 0.7646 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.6403, allocations: 122.2 kB / 0.7648 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.6404, allocations: 20.61 kB / 0.7648 GB, free: 3.078 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.6404, allocations: 9.547 kB / 0.7648 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6404, allocations: 4.625 kB / 0.7648 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.6404, allocations: 35.17 kB / 0.7648 GB, free: 3.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.6405, allocations: 0.7812 kB / 0.7648 GB, free: 3.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.6406, allocations: 29.77 kB / 0.7649 GB, free: 2.984 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.6406, allocations: 52.28 kB / 0.7649 GB, free: 2.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.689e-05/0.6407, allocations: 89.94 kB / 0.765 GB, free: 2.828 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6407, allocations: 25.7 kB / 0.765 GB, free: 2.797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.6407, allocations: 80.67 kB / 0.7651 GB, free: 2.715 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.6407, allocations: 3.906 kB / 0.7651 GB, free: 2.711 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.6407, allocations: 1.953 kB / 0.7651 GB, free: 2.711 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6409, allocations: 313.8 kB / 0.7654 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.6409, allocations: 0.6562 kB / 0.7654 GB, free: 2.398 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.6409, allocations: 8.484 kB / 0.7654 GB, free: 2.391 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.579e-05/0.6409, allocations: 4.094 kB / 0.7654 GB, free: 2.387 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6409, allocations: 0 / 0.7654 GB, free: 2.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.633e-05/0.641, allocations: 37.64 kB / 0.7655 GB, free: 2.344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.641, allocations: 8 kB / 0.7655 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.641, allocations: 0 / 0.7655 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.641, allocations: 2.734 kB / 0.7655 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.6411, allocations: 11.89 kB / 0.7655 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6411, allocations: 2.5 kB / 0.7655 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.6412, allocations: 0 / 0.7655 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.6412, allocations: 4.031 kB / 0.7655 GB, free: 2.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.812e-05/0.6413, allocations: 105 kB / 0.7656 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.6413, allocations: 0 / 0.7656 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.6413, allocations: 4.312 kB / 0.7656 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.6413, allocations: 0 / 0.7656 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6413, allocations: 3.906 kB / 0.7656 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6413, allocations: 3.984 kB / 0.7656 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.994e-05/0.6414, allocations: 122.2 kB / 0.7657 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6414, allocations: 8 kB / 0.7657 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.6415, allocations: 0 / 0.7657 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6415, allocations: 0 / 0.7657 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6415, allocations: 7.984 kB / 0.7657 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.6415, allocations: 0 / 0.7657 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6415, allocations: 0 / 0.7657 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.302e-05/0.6416, allocations: 63.92 kB / 0.7658 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.6416, allocations: 81.09 kB / 0.7659 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.6417, allocations: 8.031 kB / 0.7659 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.6417, allocations: 0 / 0.7659 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.6417, allocations: 1.188 kB / 0.7659 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.6417, allocations: 0 / 0.7659 GB, free: 1.848 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.156e-05/0.6418, allocations: 76.88 kB / 0.7659 GB, free: 1.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.6419, allocations: 7.938 kB / 0.766 GB, free: 1.766 MB / 474.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001613/0.6421, allocations: 91.25 kB / 0.766 GB, free: 1.668 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.835e-05/0.6422, allocations: 11.98 kB / 0.766 GB, free: 1.656 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6422, allocations: 0 / 0.766 GB, free: 1.656 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.6422, allocations: 7.938 kB / 0.7661 GB, free: 1.648 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.714e-05/0.6423, allocations: 3.906 kB / 0.7661 GB, free: 1.645 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.6425, allocations: 44.08 kB / 0.7661 GB, free: 1.578 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.6429, allocations: 0.6862 MB / 0.7668 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6429, allocations: 0 / 0.7668 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of Templates: time 0.002386/0.6453, allocations: 287.3 kB / 0.767 GB, free: 0.6133 MB / 474.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)