Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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.8436/0.8436, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001036/0.001036, allocations: 174.7 kB / 171.6 MB, free: 1.941 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.547/1.547, 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.001823/0.001824, allocations: 119.9 kB / 444.5 MB, free: 9.355 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.6909/0.6909, allocations: 73.4 MB / 0.666 GB, free: 62.4 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.038/6.729, allocations: 2.13 GB / 2.796 GB, free: 34 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/6.729, allocations: 84.56 kB / 2.796 GB, free: 33.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.6809/7.41, allocations: 89.63 MB / 2.884 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001589/7.411, allocations: 22.94 kB / 2.884 GB, free: 187.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004766/7.415, allocations: 1.104 MB / 2.885 GB, free: 186.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.914e-05/7.415, allocations: 10.5 kB / 2.885 GB, free: 186.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/7.418, allocations: 345.7 kB / 2.885 GB, free: 186.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/7.42, allocations: 0.5217 MB / 2.886 GB, free: 186.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/7.42, allocations: 28.36 kB / 2.886 GB, free: 186.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/7.421, allocations: 44.5 kB / 2.886 GB, free: 186.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002319/7.423, allocations: 1.017 MB / 2.887 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/7.424, allocations: 0.7202 MB / 2.887 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/7.425, allocations: 3.984 kB / 2.887 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/7.425, allocations: 0 / 2.887 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/7.425, allocations: 18.38 kB / 2.887 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004992/7.43, allocations: 2.278 MB / 2.89 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/7.432, allocations: 0.7732 MB / 2.89 GB, free: 183.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/7.432, allocations: 272 kB / 2.891 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/7.433, allocations: 477.7 kB / 2.891 GB, free: 182.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007311/7.434, allocations: 427.2 kB / 2.891 GB, free: 182.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 5.69e-06/7.434, allocations: 0 / 2.891 GB, free: 182.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.0028/7.437, allocations: 0.7539 MB / 2.892 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/7.437, allocations: 162.5 kB / 2.892 GB, free: 181.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/7.438, allocations: 425.2 kB / 2.893 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/7.438, allocations: 29.42 kB / 2.893 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/7.438, allocations: 276.5 kB / 2.893 GB, free: 181.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/7.439, allocations: 222 kB / 2.893 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/7.439, allocations: 0 / 2.893 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001777/7.439, allocations: 363.2 kB / 2.894 GB, free: 180.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/7.439, allocations: 232.9 kB / 2.894 GB, free: 180.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/7.44, allocations: 308.1 kB / 2.894 GB, free: 180.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/7.441, allocations: 348.1 kB / 2.894 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/7.441, allocations: 1.969 kB / 2.894 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002529/7.444, allocations: 0.8078 MB / 2.895 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/7.444, allocations: 5.281 kB / 2.895 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/7.444, allocations: 5.125 kB / 2.895 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/7.444, allocations: 82.72 kB / 2.895 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/7.445, allocations: 157.2 kB / 2.896 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/7.447, allocations: 1.373 MB / 2.897 GB, free: 178.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/7.448, allocations: 72.52 kB / 2.897 GB, free: 178.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/7.449, allocations: 27.11 kB / 2.897 GB, free: 178.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000248/7.449, allocations: 119.7 kB / 2.897 GB, free: 178.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/7.449, allocations: 65.17 kB / 2.897 GB, free: 178.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/7.453, allocations: 1.054 MB / 2.898 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/7.453, allocations: 7.719 kB / 2.898 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/7.453, allocations: 1.281 kB / 2.898 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/7.453, allocations: 3.984 kB / 2.898 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/7.454, allocations: 0.7191 MB / 2.899 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/7.454, allocations: 1.281 kB / 2.899 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/7.455, allocations: 162.3 kB / 2.899 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005101/7.455, allocations: 76.42 kB / 2.899 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/7.455, allocations: 24.02 kB / 2.899 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/7.457, allocations: 1.392 MB / 2.9 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/7.457, allocations: 1.344 kB / 2.9 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002496/7.459, allocations: 0.8558 MB / 2.901 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/7.46, allocations: 273.4 kB / 2.902 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/7.46, allocations: 1.5 kB / 2.902 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/7.461, allocations: 62.06 kB / 2.902 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/7.461, allocations: 48.98 kB / 2.902 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/7.461, allocations: 36.25 kB / 2.902 GB, free: 175 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005875/7.462, allocations: 341 kB / 2.902 GB, free: 174.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002084/7.464, allocations: 380.9 kB / 2.902 GB, free: 174.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00331/7.467, allocations: 1.178 MB / 2.904 GB, free: 174.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001968/7.469, allocations: 0.7566 MB / 2.904 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/7.469, allocations: 4.875 kB / 2.904 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/7.47, allocations: 461.9 kB / 2.905 GB, free: 173.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/7.471, allocations: 143.6 kB / 2.905 GB, free: 173.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/7.477, allocations: 1.266 MB / 2.906 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/7.478, allocations: 1.083 MB / 2.907 GB, free: 172 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/7.478, allocations: 7.938 kB / 2.907 GB, free: 172 MB / 0.6198 GB Notification: Performance of Templates: time 0.03407/7.512, allocations: 17.43 MB / 2.924 GB, free: 157.3 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)