Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.356/1.356, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.0009564/0.0009564, allocations: 185.2 kB / 366.3 MB, free: 2 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.026/1.026, allocations: 205.1 MB / 0.6256 GB, free: 7.562 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.0007661/0.0007661, allocations: 81.23 kB / 0.7395 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.611e-06/5.631e-06, allocations: 0 / 0.859 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4069, allocations: 116.3 MB / 0.9726 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.898/3.305, allocations: 2.072 GB / 3.045 GB, free: 56.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/3.306, allocations: 89.2 kB / 3.045 GB, free: 56.49 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4627/3.768, allocations: 58.7 MB / 3.102 GB, free: 318.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.307e-05/3.768, allocations: 22.03 kB / 3.102 GB, free: 318.2 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.00155/3.77, allocations: 1.077 MB / 3.103 GB, free: 317.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/3.77, allocations: 7.312 kB / 3.103 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/3.771, allocations: 196.7 kB / 3.103 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/3.772, allocations: 0.6075 MB / 3.104 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/3.772, allocations: 33.12 kB / 3.104 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/3.772, allocations: 43.78 kB / 3.104 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/3.773, allocations: 0.9759 MB / 3.105 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/3.774, allocations: 0.708 MB / 3.106 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/3.774, allocations: 3.938 kB / 3.106 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/3.774, allocations: 3.844 kB / 3.106 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/3.774, allocations: 19.75 kB / 3.106 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/3.777, allocations: 2.249 MB / 3.108 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/3.778, allocations: 0.7235 MB / 3.108 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/3.778, allocations: 246.6 kB / 3.109 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.448e-05/3.778, allocations: 25.48 kB / 3.109 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/3.778, allocations: 383 kB / 3.109 GB, free: 316.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/3.779, allocations: 3.531 kB / 3.109 GB, free: 316.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001316/3.78, allocations: 0.6335 MB / 3.11 GB, free: 316.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/3.78, allocations: 246.8 kB / 3.11 GB, free: 315.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/3.78, allocations: 0.4946 MB / 3.11 GB, free: 315.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/3.78, allocations: 28.64 kB / 3.11 GB, free: 315.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/3.781, allocations: 288.2 kB / 3.111 GB, free: 315.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/3.781, allocations: 234.3 kB / 3.111 GB, free: 315.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/3.781, allocations: 0 / 3.111 GB, free: 315.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/3.781, allocations: 374.6 kB / 3.111 GB, free: 315.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/3.781, allocations: 188.5 kB / 3.111 GB, free: 315.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/3.781, allocations: 287.4 kB / 3.112 GB, free: 315.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/3.782, allocations: 238.4 kB / 3.112 GB, free: 315 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/3.782, allocations: 0 / 3.112 GB, free: 315 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001251/3.783, allocations: 0.6495 MB / 3.113 GB, free: 315 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/3.783, allocations: 3.25 kB / 3.113 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/3.783, allocations: 0 / 3.113 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/3.784, allocations: 82.28 kB / 3.113 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/3.784, allocations: 146.8 kB / 3.113 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/3.786, allocations: 1.447 MB / 3.114 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/3.786, allocations: 65.44 kB / 3.114 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/3.786, allocations: 28.12 kB / 3.114 GB, free: 313.7 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.0001351/3.787, allocations: 125.5 kB / 3.114 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/3.787, allocations: 71.44 kB / 3.115 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/3.789, allocations: 0.9349 MB / 3.115 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/3.789, allocations: 16.5 kB / 3.115 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/3.789, allocations: 3.906 kB / 3.115 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/3.789, allocations: 3.562 kB / 3.115 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/3.792, allocations: 1.686 MB / 3.117 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/3.792, allocations: 2.859 kB / 3.117 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/3.792, allocations: 151.9 kB / 3.117 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/3.793, allocations: 86.94 kB / 3.117 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/3.793, allocations: 14.69 kB / 3.117 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/3.794, allocations: 1.48 MB / 3.119 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/3.794, allocations: 3.094 kB / 3.119 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001491/3.796, allocations: 0.8201 MB / 3.12 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/3.796, allocations: 275.7 kB / 3.12 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/3.796, allocations: 2.594 kB / 3.12 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/3.797, allocations: 59.11 kB / 3.12 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/3.797, allocations: 52.81 kB / 3.12 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/3.797, allocations: 33.67 kB / 3.12 GB, free: 311.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004436/3.798, allocations: 404.9 kB / 3.12 GB, free: 311.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000957/3.798, allocations: 301.2 kB / 3.121 GB, free: 311.4 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.001491/3.8, allocations: 1.009 MB / 3.122 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001089/3.801, allocations: 0.6502 MB / 3.122 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/3.801, allocations: 6.359 kB / 3.122 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/3.802, allocations: 445.6 kB / 3.123 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/3.803, allocations: 204.9 kB / 3.123 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/3.806, allocations: 1.343 MB / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/3.807, allocations: 1.126 MB / 3.125 GB, free: 310 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/3.807, allocations: 0 / 3.125 GB, free: 310 MB / 0.948 GB Notification: Performance of Templates: time 0.02217/3.829, allocations: 16.37 MB / 3.141 GB, free: 308.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)