Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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.8521/0.8521, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001847/0.001847, allocations: 172 kB / 171.6 MB, free: 1.961 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.473/1.473, allocations: 170.5 MB / 373.9 MB, free: 15.94 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.001644/0.001644, allocations: 120.8 kB / 444.5 MB, free: 9.492 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.4369/0.4369, allocations: 73.39 MB / 0.666 GB, free: 62.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.332/5.769, allocations: 2.13 GB / 2.796 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/5.769, allocations: 96.47 kB / 2.796 GB, free: 66.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.6497/6.419, allocations: 85.01 MB / 2.879 GB, free: 194.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001181/6.419, allocations: 21.31 kB / 2.879 GB, free: 194.9 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003586/6.423, allocations: 1.105 MB / 2.88 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/6.423, allocations: 10.44 kB / 2.88 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/6.425, allocations: 325.1 kB / 2.88 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/6.427, allocations: 0.5189 MB / 2.881 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/6.427, allocations: 24.84 kB / 2.881 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/6.427, allocations: 46.25 kB / 2.881 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002163/6.429, allocations: 1.014 MB / 2.882 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/6.431, allocations: 0.7059 MB / 2.882 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/6.431, allocations: 2.531 kB / 2.883 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/6.431, allocations: 6.766 kB / 2.883 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/6.431, allocations: 18.41 kB / 2.883 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/6.436, allocations: 2.238 MB / 2.885 GB, free: 193.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/6.437, allocations: 0.7679 MB / 2.885 GB, free: 193 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/6.438, allocations: 274.6 kB / 2.886 GB, free: 193 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/6.439, allocations: 471.5 kB / 2.886 GB, free: 192.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/6.439, allocations: 418.4 kB / 2.887 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 5.019e-06/6.439, allocations: 0 / 2.887 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.002277/6.442, allocations: 0.7382 MB / 2.887 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/6.442, allocations: 165.1 kB / 2.887 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/6.442, allocations: 425.2 kB / 2.888 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/6.442, allocations: 29.14 kB / 2.888 GB, free: 192 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/6.443, allocations: 276.1 kB / 2.888 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/6.443, allocations: 230.4 kB / 2.888 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/6.443, allocations: 3.844 kB / 2.888 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001325/6.443, allocations: 367.7 kB / 2.889 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/6.444, allocations: 218.4 kB / 2.889 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/6.444, allocations: 296.8 kB / 2.889 GB, free: 191.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/6.445, allocations: 339 kB / 2.89 GB, free: 191.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/6.445, allocations: 0 / 2.89 GB, free: 191.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002173/6.447, allocations: 0.7937 MB / 2.89 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/6.447, allocations: 3.969 kB / 2.89 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/6.447, allocations: 7.875 kB / 2.89 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/6.448, allocations: 77.42 kB / 2.89 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/6.449, allocations: 154.5 kB / 2.891 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/6.45, allocations: 1.369 MB / 2.892 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/6.451, allocations: 66.88 kB / 2.892 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/6.451, allocations: 27.86 kB / 2.892 GB, free: 190 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real 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.0003/6.452, allocations: 128.9 kB / 2.892 GB, free: 189.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/6.452, allocations: 61.19 kB / 2.892 GB, free: 189.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/6.455, allocations: 1.046 MB / 2.893 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/6.455, allocations: 14.86 kB / 2.893 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/6.455, allocations: 3.812 kB / 2.893 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/6.455, allocations: 5.812 kB / 2.893 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/6.458, allocations: 1.756 MB / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/6.458, allocations: 0 / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/6.459, allocations: 158.5 kB / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004968/6.46, allocations: 83.06 kB / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/6.46, allocations: 14.91 kB / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/6.461, allocations: 1.397 MB / 2.897 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/6.461, allocations: 0 / 2.897 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002132/6.464, allocations: 0.9152 MB / 2.897 GB, free: 188 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/6.464, allocations: 270.2 kB / 2.898 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/6.464, allocations: 3.688 kB / 2.898 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/6.465, allocations: 61.69 kB / 2.898 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/6.465, allocations: 43.05 kB / 2.898 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/6.465, allocations: 39.56 kB / 2.898 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005379/6.466, allocations: 341.4 kB / 2.898 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001865/6.468, allocations: 380.1 kB / 2.899 GB, free: 187.6 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.003234/6.471, allocations: 1.186 MB / 2.9 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002074/6.473, allocations: 0.7358 MB / 2.9 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/6.473, allocations: 1.25 kB / 2.9 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000902/6.474, allocations: 444.9 kB / 2.901 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/6.475, allocations: 149.4 kB / 2.901 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/6.48, allocations: 1.263 MB / 2.902 GB, free: 186.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/6.482, allocations: 1.082 MB / 2.903 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.725e-06/6.482, allocations: 0 / 2.903 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.04961/6.531, allocations: 17.27 MB / 2.92 GB, free: 183.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)