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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [: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.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 9.82 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.0009419/0.000942, allocations: 199.5 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 91.86 kB / 0.7326 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.356/0.3568, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.5035, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.989/3.493, allocations: 2.071 GB / 3.035 GB, free: 253.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/3.493, allocations: 94.62 kB / 3.035 GB, free: 253.3 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.117/3.61, allocations: 59.79 MB / 3.093 GB, free: 203.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/3.61, allocations: 12 kB / 3.093 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008823/3.611, allocations: 190.5 kB / 3.093 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/3.612, allocations: 0.6192 MB / 3.094 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/3.612, allocations: 24 kB / 3.094 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/3.612, allocations: 47.94 kB / 3.094 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001184/3.613, allocations: 0.9716 MB / 3.095 GB, free: 202 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/3.614, allocations: 0.713 MB / 3.096 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/3.614, allocations: 7.938 kB / 3.096 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/3.614, allocations: 0 / 3.096 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/3.614, allocations: 24 kB / 3.096 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/3.617, allocations: 2.24 MB / 3.098 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/3.618, allocations: 0.7198 MB / 3.099 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/3.619, allocations: 246.2 kB / 3.099 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-05/3.619, allocations: 28.67 kB / 3.099 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/3.619, allocations: 382.9 kB / 3.099 GB, free: 198.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.923e-06/3.619, allocations: 0 / 3.099 GB, free: 198.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001342/3.62, allocations: 0.6345 MB / 3.1 GB, free: 198 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/3.621, allocations: 244 kB / 3.1 GB, free: 197.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/3.621, allocations: 0.4982 MB / 3.101 GB, free: 197.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/3.621, allocations: 29.7 kB / 3.101 GB, free: 197.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/3.621, allocations: 288.2 kB / 3.101 GB, free: 196.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/3.621, allocations: 228.6 kB / 3.101 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/3.621, allocations: 0 / 3.101 GB, free: 196.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/3.621, allocations: 378.8 kB / 3.102 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/3.622, allocations: 185.3 kB / 3.102 GB, free: 196.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/3.622, allocations: 286.4 kB / 3.102 GB, free: 195.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/3.622, allocations: 243 kB / 3.102 GB, free: 195.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/3.622, allocations: 0 / 3.102 GB, free: 195.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001243/3.624, allocations: 0.6443 MB / 3.103 GB, free: 194.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/3.624, allocations: 7.438 kB / 3.103 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/3.624, allocations: 4 kB / 3.103 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/3.624, allocations: 88.81 kB / 3.103 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/3.625, allocations: 135.8 kB / 3.103 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/3.626, allocations: 1.461 MB / 3.105 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/3.627, allocations: 63.45 kB / 3.105 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/3.627, allocations: 24.06 kB / 3.105 GB, free: 193 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.0001263/3.627, allocations: 127 kB / 3.105 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/3.627, allocations: 71.16 kB / 3.105 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/3.629, allocations: 0.9401 MB / 3.106 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/3.629, allocations: 11.94 kB / 3.106 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/3.629, allocations: 0 / 3.106 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/3.629, allocations: 3.984 kB / 3.106 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/3.631, allocations: 1.701 MB / 3.107 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/3.631, allocations: 7.938 kB / 3.107 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/3.632, allocations: 147.8 kB / 3.108 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/3.632, allocations: 92.77 kB / 3.108 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/3.632, allocations: 11.98 kB / 3.108 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/3.633, allocations: 1.476 MB / 3.109 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/3.633, allocations: 0 / 3.109 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001215/3.635, allocations: 0.8245 MB / 3.11 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001322/3.636, allocations: 1.235 MB / 3.111 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/3.636, allocations: 271.8 kB / 3.111 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/3.636, allocations: 8 kB / 3.111 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/3.637, allocations: 51.95 kB / 3.111 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/3.637, allocations: 56.83 kB / 3.111 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/3.637, allocations: 35.97 kB / 3.111 GB, free: 185.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003552/3.638, allocations: 402.9 kB / 3.112 GB, free: 185.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001495/3.639, allocations: 375.1 kB / 3.112 GB, free: 184.9 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.001321/3.64, allocations: 1.01 MB / 3.113 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009175/3.641, allocations: 0.6467 MB / 3.114 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/3.641, allocations: 4.125 kB / 3.114 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005771/3.642, allocations: 448.6 kB / 3.114 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/3.643, allocations: 216.7 kB / 3.114 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/3.646, allocations: 1.339 MB / 3.116 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/3.646, allocations: 1.123 MB / 3.117 GB, free: 180.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/3.646, allocations: 0 / 3.117 GB, free: 180.2 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)