Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4954/0.4954, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 182.5 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.5 MB / 319 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001848/0.001848, allocations: 102.9 kB / 381 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.727e-06, allocations: 0 / 448.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1624, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.02/10.18, allocations: 4.477 GB / 4.975 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/10.18, allocations: 94.58 kB / 4.975 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1218/10.3, allocations: 64.39 MB / 5.038 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.905e-05/10.3, allocations: 28 kB / 5.038 GB, free: 96.63 MB / 0.5261 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.002004/10.3, allocations: 1.197 MB / 5.039 GB, free: 95.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/10.3, allocations: 12.03 kB / 5.039 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/10.3, allocations: 122.8 kB / 5.039 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/10.31, allocations: 0.514 MB / 5.04 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/10.31, allocations: 29.97 kB / 5.04 GB, free: 94.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/10.31, allocations: 44 kB / 5.04 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/10.31, allocations: 0.9484 MB / 5.041 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/10.31, allocations: 0.6575 MB / 5.042 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/10.31, allocations: 3.984 kB / 5.042 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/10.31, allocations: 4 kB / 5.042 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/10.31, allocations: 23.91 kB / 5.042 GB, free: 92.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/10.31, allocations: 2.071 MB / 5.044 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/10.31, allocations: 0.6717 MB / 5.044 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/10.31, allocations: 242.7 kB / 5.045 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009642/10.31, allocations: 2.028 MB / 5.047 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/10.31, allocations: 359 kB / 5.047 GB, free: 87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.554e-06/10.31, allocations: 4 kB / 5.047 GB, free: 87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.001944/10.32, allocations: 0.6951 MB / 5.048 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/10.32, allocations: 222.3 kB / 5.048 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/10.32, allocations: 409.2 kB / 5.048 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/10.32, allocations: 29.7 kB / 5.048 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/10.32, allocations: 272.3 kB / 5.048 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/10.32, allocations: 220.7 kB / 5.049 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/10.32, allocations: 4 kB / 5.049 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/10.32, allocations: 358.8 kB / 5.049 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/10.32, allocations: 190.7 kB / 5.049 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/10.32, allocations: 271.8 kB / 5.049 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009335/10.32, allocations: 327 kB / 5.05 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/10.32, allocations: 0 / 5.05 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001855/10.32, allocations: 0.746 MB / 5.05 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/10.32, allocations: 7.984 kB / 5.051 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/10.32, allocations: 0 / 5.051 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/10.32, allocations: 80.86 kB / 5.051 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/10.32, allocations: 115.8 kB / 5.051 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/10.32, allocations: 1.364 MB / 5.052 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/10.32, allocations: 43.55 kB / 5.052 GB, free: 81.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/10.32, allocations: 31.97 kB / 5.052 GB, free: 81.43 MB / 0.5261 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 (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 6 * 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.0001918/10.32, allocations: 176.4 kB / 5.052 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/10.32, allocations: 59.25 kB / 5.052 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/10.32, allocations: 1.012 MB / 5.053 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/10.32, allocations: 15.98 kB / 5.053 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/10.32, allocations: 3.938 kB / 5.053 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/10.32, allocations: 3.984 kB / 5.053 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/10.33, allocations: 1.681 MB / 5.055 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/10.33, allocations: 3.984 kB / 5.055 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/10.33, allocations: 119.9 kB / 5.055 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/10.33, allocations: 84.62 kB / 5.055 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/10.33, allocations: 15.98 kB / 5.055 GB, free: 78.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/10.33, allocations: 1.375 MB / 5.057 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/10.33, allocations: 4.062 kB / 5.057 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001814/10.33, allocations: 0.8822 MB / 5.057 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/10.33, allocations: 268 kB / 5.058 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/10.33, allocations: 4 kB / 5.058 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/10.33, allocations: 35.88 kB / 5.058 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/10.33, allocations: 44.77 kB / 5.058 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/10.33, allocations: 31.98 kB / 5.058 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003207/10.33, allocations: 327.2 kB / 5.058 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001109/10.33, allocations: 355 kB / 5.058 GB, free: 74.72 MB / 0.5261 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * 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.001279/10.34, allocations: 0.6332 MB / 5.059 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009704/10.34, allocations: 0.7811 MB / 5.06 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/10.34, allocations: 3.984 kB / 5.06 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/10.34, allocations: 497.2 kB / 5.06 GB, free: 72.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/10.34, allocations: 130.2 kB / 5.06 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/10.34, allocations: 1.046 MB / 5.061 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/10.34, allocations: 1.077 MB / 5.062 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/10.34, allocations: 4 kB / 5.062 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.01882/10.36, allocations: 12.3 MB / 5.074 GB, free: 58.36 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)