Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.342/1.342, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001293, allocations: 189.2 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 81.88 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.51e-06, allocations: 0 / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4107, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.657/3.067, allocations: 2.071 GB / 3.035 GB, free: 65.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/3.068, allocations: 96.17 kB / 3.035 GB, free: 65.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1219/3.19, allocations: 58.69 MB / 3.092 GB, free: 6.523 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.173e-05/3.19, allocations: 24 kB / 3.092 GB, free: 6.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001687/3.191, allocations: 1.074 MB / 3.093 GB, free: 5.379 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/3.191, allocations: 8.531 kB / 3.093 GB, free: 5.371 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/3.192, allocations: 198.5 kB / 3.093 GB, free: 5.176 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/3.193, allocations: 0.6036 MB / 3.094 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/3.193, allocations: 24 kB / 3.094 GB, free: 4.508 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/3.193, allocations: 48 kB / 3.094 GB, free: 4.461 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001207/3.195, allocations: 0.9835 MB / 3.095 GB, free: 3.477 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/3.196, allocations: 0.7076 MB / 3.096 GB, free: 2.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/3.196, allocations: 11.94 kB / 3.096 GB, free: 2.719 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/3.196, allocations: 4 kB / 3.096 GB, free: 2.715 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.196, allocations: 19.91 kB / 3.096 GB, free: 2.695 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/3.199, allocations: 2.228 MB / 3.098 GB, free: 420 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2542/3.453, allocations: 0.7267 MB / 3.099 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/3.453, allocations: 248 kB / 3.099 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-05/3.453, allocations: 33.34 kB / 3.099 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/3.454, allocations: 377.1 kB / 3.099 GB, free: 398.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.527e-06/3.454, allocations: 0 / 3.099 GB, free: 398.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001513/3.456, allocations: 0.64 MB / 3.1 GB, free: 398.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/3.456, allocations: 246.8 kB / 3.1 GB, free: 398 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/3.456, allocations: 0.4945 MB / 3.101 GB, free: 397.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/3.456, allocations: 25.7 kB / 3.101 GB, free: 397.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/3.456, allocations: 294.8 kB / 3.101 GB, free: 397.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/3.457, allocations: 224.5 kB / 3.101 GB, free: 397.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/3.457, allocations: 0 / 3.101 GB, free: 397.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/3.457, allocations: 374.7 kB / 3.101 GB, free: 397.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/3.457, allocations: 188.4 kB / 3.102 GB, free: 397.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/3.457, allocations: 296.7 kB / 3.102 GB, free: 397.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/3.458, allocations: 231.2 kB / 3.102 GB, free: 397.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/3.458, allocations: 3.531 kB / 3.102 GB, free: 397.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001285/3.459, allocations: 0.6422 MB / 3.103 GB, free: 397.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/3.459, allocations: 3.438 kB / 3.103 GB, free: 397.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/3.459, allocations: 5.844 kB / 3.103 GB, free: 397.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/3.46, allocations: 85.16 kB / 3.103 GB, free: 397.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/3.46, allocations: 139.7 kB / 3.103 GB, free: 397.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/3.462, allocations: 1.463 MB / 3.104 GB, free: 395.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/3.462, allocations: 67.33 kB / 3.104 GB, free: 395.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/3.462, allocations: 26.19 kB / 3.105 GB, free: 395.9 MB / 0.948 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 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 prepare postOptimizeDAE: time 0.0001285/3.462, allocations: 116.9 kB / 3.105 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/3.463, allocations: 69.31 kB / 3.105 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/3.464, allocations: 0.9403 MB / 3.106 GB, free: 395.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/3.464, allocations: 10.03 kB / 3.106 GB, free: 395.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/3.464, allocations: 0 / 3.106 GB, free: 395.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/3.464, allocations: 3.234 kB / 3.106 GB, free: 395.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/3.467, allocations: 1.692 MB / 3.107 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/3.467, allocations: 2.938 kB / 3.107 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/3.467, allocations: 153.2 kB / 3.107 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/3.468, allocations: 84.91 kB / 3.107 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/3.468, allocations: 15.16 kB / 3.108 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/3.469, allocations: 1.482 MB / 3.109 GB, free: 394.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/3.469, allocations: 0 / 3.109 GB, free: 394.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001291/3.471, allocations: 0.8221 MB / 3.11 GB, free: 394 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/3.471, allocations: 282 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/3.471, allocations: 3.188 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/3.472, allocations: 60.94 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/3.472, allocations: 51.05 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/3.472, allocations: 29 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003638/3.472, allocations: 412 kB / 3.111 GB, free: 393.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008111/3.473, allocations: 298.5 kB / 3.111 GB, free: 393.7 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/3.474, allocations: 1.013 MB / 3.112 GB, free: 393.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009281/3.475, allocations: 0.6391 MB / 3.112 GB, free: 393.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/3.475, allocations: 7.766 kB / 3.112 GB, free: 393.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/3.476, allocations: 450.2 kB / 3.113 GB, free: 393.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/3.477, allocations: 215.1 kB / 3.113 GB, free: 393.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/3.48, allocations: 1.331 MB / 3.114 GB, free: 393.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/3.48, allocations: 1.124 MB / 3.115 GB, free: 392.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/3.48, allocations: 0 / 3.115 GB, free: 392.4 MB / 0.948 GB Notification: Performance of Templates: time 0.0211/3.501, allocations: 16.37 MB / 3.131 GB, free: 391.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)