Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.192/2.192, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001514, allocations: 181.2 kB / 360.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 87.98 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.225e-06/8.386e-06, allocations: 0 / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5599, allocations: 115.2 MB / 0.9628 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.595/5.155, allocations: 2.071 GB / 3.033 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/5.156, allocations: 94.97 kB / 3.034 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.2082/5.364, allocations: 58.01 MB / 3.09 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.429e-05/5.364, allocations: 25.12 kB / 3.09 GB, free: 258.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002247/5.366, allocations: 1.056 MB / 3.091 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/5.366, allocations: 8.531 kB / 3.091 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/5.368, allocations: 195.7 kB / 3.091 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/5.369, allocations: 0.6038 MB / 3.092 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/5.369, allocations: 24.78 kB / 3.092 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/5.369, allocations: 43.38 kB / 3.092 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002233/5.372, allocations: 0.9543 MB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/5.373, allocations: 0.6914 MB / 3.094 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/5.374, allocations: 1.125 kB / 3.094 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/5.374, allocations: 5.188 kB / 3.094 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/5.374, allocations: 22.38 kB / 3.094 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005834/5.38, allocations: 2.208 MB / 3.096 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/5.381, allocations: 0.703 MB / 3.097 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/5.382, allocations: 236.4 kB / 3.097 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/5.382, allocations: 28.78 kB / 3.097 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/5.383, allocations: 368.5 kB / 3.097 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/5.383, allocations: 0 / 3.097 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.002581/5.385, allocations: 0.6218 MB / 3.098 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/5.385, allocations: 246.9 kB / 3.098 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/5.386, allocations: 0.4886 MB / 3.099 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/5.387, allocations: 28.36 kB / 3.099 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/5.387, allocations: 278.7 kB / 3.099 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/5.387, allocations: 228.1 kB / 3.099 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/5.387, allocations: 0 / 3.099 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001163/5.387, allocations: 377.5 kB / 3.099 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/5.388, allocations: 178.3 kB / 3.1 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/5.388, allocations: 284.4 kB / 3.1 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/5.389, allocations: 234.9 kB / 3.1 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/5.389, allocations: 0 / 3.1 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002416/5.391, allocations: 0.6223 MB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/5.391, allocations: 3.312 kB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/5.391, allocations: 0 / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/5.393, allocations: 86.59 kB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/5.394, allocations: 135.6 kB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/5.396, allocations: 1.458 MB / 3.102 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/5.397, allocations: 60.27 kB / 3.102 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/5.397, allocations: 29.39 kB / 3.102 GB, free: 252.2 MB / 0.9323 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 (72): * Single equations (assignments): 71 * 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.0002289/5.398, allocations: 122.2 kB / 3.102 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/5.398, allocations: 72.8 kB / 3.103 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/5.401, allocations: 0.8784 MB / 3.103 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/5.401, allocations: 8.625 kB / 3.103 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/5.401, allocations: 0 / 3.103 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/5.401, allocations: 10.89 kB / 3.103 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/5.406, allocations: 1.634 MB / 3.105 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/5.406, allocations: 4 kB / 3.105 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/5.407, allocations: 144 kB / 3.105 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/5.408, allocations: 84.59 kB / 3.105 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/5.408, allocations: 17.17 kB / 3.105 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/5.41, allocations: 1.488 MB / 3.107 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/5.41, allocations: 0 / 3.107 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002544/5.413, allocations: 0.7893 MB / 3.108 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/5.414, allocations: 268.2 kB / 3.108 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/5.414, allocations: 3 kB / 3.108 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/5.415, allocations: 56.56 kB / 3.108 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/5.415, allocations: 51.64 kB / 3.108 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/5.415, allocations: 29.05 kB / 3.108 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007262/5.416, allocations: 397.3 kB / 3.108 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001368/5.417, allocations: 298.2 kB / 3.109 GB, free: 249.1 MB / 0.9323 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 (81): * Single equations (assignments): 78 * 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.002005/5.419, allocations: 1.009 MB / 3.11 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001812/5.421, allocations: 0.6293 MB / 3.11 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/5.421, allocations: 0 / 3.11 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/5.422, allocations: 430.5 kB / 3.111 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/5.424, allocations: 210.7 kB / 3.111 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/5.43, allocations: 1.301 MB / 3.112 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/5.431, allocations: 1.103 MB / 3.113 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.113e-06/5.431, allocations: 0 / 3.113 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.03917/5.47, allocations: 16.05 MB / 3.129 GB, free: 231.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)