Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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.5511/0.5511, allocations: 94.74 MB / 102 MB, free: 10.35 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.001284/0.001284, allocations: 179 kB / 125.3 MB, free: 12 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.491/1.491, allocations: 170.5 MB / 319 MB, free: 9.418 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.001614/0.001614, allocations: 106.7 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.945e-06, allocations: 224 / 448.6 MB, free: 2.152 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 61.52 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.984/10.14, allocations: 4.477 GB / 4.975 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/10.14, allocations: 92.94 kB / 4.975 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1188/10.26, allocations: 63.71 MB / 5.037 GB, free: 93.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.445e-05/10.26, allocations: 27.94 kB / 5.037 GB, free: 93.56 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001811/10.27, allocations: 1.186 MB / 5.038 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/10.27, allocations: 12.03 kB / 5.038 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/10.27, allocations: 122.7 kB / 5.039 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/10.27, allocations: 0.5023 MB / 5.039 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/10.27, allocations: 24 kB / 5.039 GB, free: 91.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/10.27, allocations: 44 kB / 5.039 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/10.27, allocations: 0.9372 MB / 5.04 GB, free: 90.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/10.27, allocations: 0.638 MB / 5.041 GB, free: 89.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/10.27, allocations: 0 / 5.041 GB, free: 89.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/10.27, allocations: 7.938 kB / 5.041 GB, free: 89.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/10.27, allocations: 16 kB / 5.041 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/10.27, allocations: 2.036 MB / 5.043 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/10.27, allocations: 0.6426 MB / 5.043 GB, free: 87.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/10.27, allocations: 228.6 kB / 5.044 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/10.27, allocations: 2.024 MB / 5.046 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/10.27, allocations: 358.8 kB / 5.046 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/10.27, allocations: 0 / 5.046 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.001913/10.28, allocations: 0.6765 MB / 5.047 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/10.28, allocations: 222.3 kB / 5.047 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/10.28, allocations: 401.2 kB / 5.047 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/10.28, allocations: 33.7 kB / 5.047 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/10.28, allocations: 268.2 kB / 5.047 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/10.28, allocations: 212.9 kB / 5.048 GB, free: 82.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/10.28, allocations: 0 / 5.048 GB, free: 82.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000102/10.28, allocations: 362.7 kB / 5.048 GB, free: 81.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/10.28, allocations: 185.3 kB / 5.048 GB, free: 81.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/10.28, allocations: 263.8 kB / 5.048 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/10.28, allocations: 319 kB / 5.049 GB, free: 81.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/10.28, allocations: 0 / 5.049 GB, free: 81.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001785/10.28, allocations: 0.7266 MB / 5.049 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/10.28, allocations: 8 kB / 5.049 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/10.28, allocations: 3.984 kB / 5.049 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/10.28, allocations: 72.86 kB / 5.049 GB, free: 80.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/10.28, allocations: 111.8 kB / 5.05 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/10.28, allocations: 1.366 MB / 5.051 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/10.28, allocations: 47.64 kB / 5.051 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/10.28, allocations: 27.98 kB / 5.051 GB, free: 78.59 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 (69): * Single equations (assignments): 62 * 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.0002298/10.28, allocations: 187.9 kB / 5.051 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/10.28, allocations: 59.33 kB / 5.051 GB, free: 78.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/10.29, allocations: 0.9477 MB / 5.052 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/10.29, allocations: 4 kB / 5.052 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/10.29, allocations: 0 / 5.052 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/10.29, allocations: 7.984 kB / 5.052 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/10.29, allocations: 1.62 MB / 5.054 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/10.29, allocations: 7.906 kB / 5.054 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/10.29, allocations: 119.8 kB / 5.054 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/10.29, allocations: 84.78 kB / 5.054 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/10.29, allocations: 15.98 kB / 5.054 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/10.29, allocations: 1.386 MB / 5.055 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/10.29, allocations: 0 / 5.055 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001863/10.29, allocations: 0.8486 MB / 5.056 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/10.29, allocations: 264.1 kB / 5.056 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/10.29, allocations: 4 kB / 5.056 GB, free: 72.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/10.29, allocations: 31.97 kB / 5.056 GB, free: 72.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/10.29, allocations: 44.59 kB / 5.056 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/10.29, allocations: 31.92 kB / 5.057 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003522/10.29, allocations: 327.2 kB / 5.057 GB, free: 72.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001336/10.3, allocations: 343 kB / 5.057 GB, free: 72.06 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 (73): * Single equations (assignments): 68 * 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.001915/10.3, allocations: 0.6372 MB / 5.058 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001244/10.3, allocations: 0.7685 MB / 5.059 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/10.3, allocations: 0 / 5.059 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/10.3, allocations: 465.1 kB / 5.059 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/10.3, allocations: 128 kB / 5.059 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/10.3, allocations: 1.014 MB / 5.06 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/10.3, allocations: 1.057 MB / 5.061 GB, free: 68 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/10.3, allocations: 0 / 5.061 GB, free: 68 MB / 0.5261 GB Notification: Performance of Templates: time 0.02029/10.32, allocations: 12.14 MB / 5.073 GB, free: 55.96 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)