Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") [: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.7265/0.7265, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001103/0.001103, allocations: 162 kB / 171.6 MB, free: 2.016 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.439/1.439, 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.001688/0.001688, allocations: 117.5 kB / 444.4 MB, free: 9.375 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.5344/0.5345, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.6714, allocations: 101 MB / 0.7646 GB, free: 3.305 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.6717, allocations: 71.95 kB / 0.7647 GB, free: 3.234 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003317/0.675, allocations: 0.8074 MB / 0.7655 GB, free: 2.457 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.675, allocations: 4 kB / 0.7655 GB, free: 2.453 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004584/0.6755, allocations: 374.3 kB / 0.7658 GB, free: 2.047 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6755, allocations: 8.031 kB / 0.7658 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.6756, allocations: 7.906 kB / 0.7658 GB, free: 2.031 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.6758, allocations: 189.6 kB / 0.766 GB, free: 1.809 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.6758, allocations: 0 / 0.766 GB, free: 1.809 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.6758, allocations: 5.641 kB / 0.766 GB, free: 1.805 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001119/0.6759, allocations: 31.98 kB / 0.7661 GB, free: 1.773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.6761, allocations: 71.31 kB / 0.7661 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6761, allocations: 0 / 0.7661 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.6761, allocations: 0 / 0.7661 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6761, allocations: 0 / 0.7661 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.6766, allocations: 309.2 kB / 0.7664 GB, free: 1.359 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.6767, allocations: 42.56 kB / 0.7665 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.6768, allocations: 16.86 kB / 0.7665 GB, free: 1.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.6768, allocations: 0 / 0.7665 GB, free: 1.289 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.6769, allocations: 38.47 kB / 0.7665 GB, free: 1.242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6769, allocations: 0 / 0.7665 GB, free: 1.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002492/0.6771, allocations: 56.36 kB / 0.7666 GB, free: 1.184 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.6772, allocations: 51.41 kB / 0.7666 GB, free: 1.121 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.6773, allocations: 117 kB / 0.7667 GB, free: 1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.6773, allocations: 29.64 kB / 0.7668 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.6773, allocations: 88.03 kB / 0.7668 GB, free: 0.875 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.6774, allocations: 11.84 kB / 0.7669 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.6774, allocations: 0 / 0.7669 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6775, allocations: 321.7 kB / 0.7672 GB, free: 0.543 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.6775, allocations: 15.98 kB / 0.7672 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.6776, allocations: 11.28 kB / 0.7672 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.6776, allocations: 12 kB / 0.7672 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6776, allocations: 7.984 kB / 0.7672 GB, free: 0.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001217/0.6778, allocations: 57.69 kB / 0.7673 GB, free: 448 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6778, allocations: 4 kB / 0.7673 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6778, allocations: 3.906 kB / 0.7673 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6778, allocations: 4 kB / 0.7673 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.678, allocations: 23.98 kB / 0.7673 GB, free: 412 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.678, allocations: 0 / 0.7673 GB, free: 412 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.6781, allocations: 19.97 kB / 0.7673 GB, free: 392 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.6781, allocations: 0 / 0.7673 GB, free: 392 kB / 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 (3): * Single equations (assignments): 3 * 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 7.135e-05/0.6782, allocations: 112.9 kB / 0.7674 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.6782, allocations: 3.906 kB / 0.7674 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.6784, allocations: 66.73 kB / 0.7675 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6784, allocations: 0 / 0.7675 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6784, allocations: 0 / 0.7675 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6785, allocations: 4 kB / 0.7675 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.6787, allocations: 159.7 kB / 0.7676 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6787, allocations: 0 / 0.7676 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6788, allocations: 31.98 kB / 0.7677 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6788, allocations: 0 / 0.7677 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6788, allocations: 0 / 0.7677 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.6788, allocations: 0 / 0.7677 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6788, allocations: 0 / 0.7677 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001761/0.679, allocations: 166 kB / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.6791, allocations: 81.02 kB / 0.7679 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.6791, allocations: 4 kB / 0.7679 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.6793, allocations: 17.3 kB / 0.7679 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.6793, allocations: 7.922 kB / 0.7679 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.6793, allocations: 8 kB / 0.7679 GB, free: 15.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.898e-05/0.6794, allocations: 87.27 kB / 0.768 GB, free: 15.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.6796, allocations: 15.91 kB / 0.768 GB, free: 15.55 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001619/0.6798, allocations: 91.25 kB / 0.7681 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.6799, allocations: 31.98 kB / 0.7682 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6799, allocations: 0 / 0.7682 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.6799, allocations: 24.78 kB / 0.7682 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.6801, allocations: 9.406 kB / 0.7682 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.6804, allocations: 95.73 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.6808, allocations: 0.6993 MB / 0.769 GB, free: 14.55 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6808, allocations: 0.9375 kB / 0.769 GB, free: 14.55 MB / 490.7 MB Notification: Performance of Templates: time 0.002908/0.6837, allocations: 0.7063 MB / 0.7697 GB, free: 13.88 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)