Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6765/0.6765, allocations: 127.4 MB / 134.6 MB, free: 4.133 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 185.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.1 MB / 399.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 85.2 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.114e-05, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.618, allocations: 2.146 GB / 2.767 GB, free: 66.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/5.619, allocations: 92.92 kB / 2.767 GB, free: 66.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1217/5.741, allocations: 54.84 MB / 2.821 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.614e-05/5.741, allocations: 23.94 kB / 2.821 GB, free: 10.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002749/5.743, allocations: 1.043 MB / 2.822 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/5.744, allocations: 12.03 kB / 2.822 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/5.746, allocations: 334.3 kB / 2.822 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/5.748, allocations: 0.5257 MB / 2.823 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/5.748, allocations: 24 kB / 2.823 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/5.748, allocations: 44 kB / 2.823 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001748/5.75, allocations: 1.003 MB / 2.824 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/5.751, allocations: 0.7018 MB / 2.824 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/5.751, allocations: 0 / 2.824 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/5.751, allocations: 7.906 kB / 2.824 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/5.751, allocations: 16 kB / 2.824 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/5.755, allocations: 2.24 MB / 2.827 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/5.757, allocations: 0.7323 MB / 2.827 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/5.757, allocations: 266.2 kB / 2.828 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/5.758, allocations: 478.1 kB / 2.828 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/5.758, allocations: 402.8 kB / 2.828 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 2.886e-06/5.758, allocations: 0 / 2.828 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002113/5.76, allocations: 0.7185 MB / 2.829 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/5.76, allocations: 170.9 kB / 2.829 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/5.761, allocations: 441.3 kB / 2.83 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/5.761, allocations: 33.7 kB / 2.83 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/5.761, allocations: 280.3 kB / 2.83 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/5.761, allocations: 228.5 kB / 2.83 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/5.762, allocations: 0 / 2.83 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/5.762, allocations: 358.8 kB / 2.831 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/5.762, allocations: 201.3 kB / 2.831 GB, free: 324 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/5.762, allocations: 279.8 kB / 2.831 GB, free: 20 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3014/6.064, allocations: 315.5 kB / 2.831 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/6.064, allocations: 0 / 2.831 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002021/6.066, allocations: 0.7238 MB / 2.832 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/6.066, allocations: 3.969 kB / 2.832 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/6.066, allocations: 0 / 2.832 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/6.066, allocations: 89.45 kB / 2.832 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/6.067, allocations: 151.8 kB / 2.832 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/6.069, allocations: 1.45 MB / 2.834 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/6.07, allocations: 67.23 kB / 2.834 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/6.07, allocations: 35.28 kB / 2.834 GB, free: 257.5 MB / 0.6355 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.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 (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.0001869/6.07, allocations: 114.4 kB / 2.834 GB, free: 257.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/6.07, allocations: 66.28 kB / 2.834 GB, free: 257.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/6.073, allocations: 1.006 MB / 2.835 GB, free: 257.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/6.073, allocations: 16.72 kB / 2.835 GB, free: 257.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/6.073, allocations: 0 / 2.835 GB, free: 257.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/6.073, allocations: 3.703 kB / 2.835 GB, free: 257.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/6.076, allocations: 1.733 MB / 2.837 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/6.077, allocations: 0 / 2.837 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/6.077, allocations: 155.7 kB / 2.837 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/6.078, allocations: 86.88 kB / 2.837 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/6.078, allocations: 15.08 kB / 2.837 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/6.08, allocations: 1.469 MB / 2.838 GB, free: 255.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/6.08, allocations: 0 / 2.838 GB, free: 255.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002183/6.082, allocations: 0.8989 MB / 2.839 GB, free: 255.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/6.083, allocations: 271.1 kB / 2.84 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/6.083, allocations: 4.469 kB / 2.84 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/6.083, allocations: 66.56 kB / 2.84 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/6.084, allocations: 51 kB / 2.84 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/6.084, allocations: 35.64 kB / 2.84 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006327/6.084, allocations: 356.8 kB / 2.84 GB, free: 255.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001437/6.086, allocations: 316.3 kB / 2.84 GB, free: 255.3 MB / 0.6355 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 (83): * Single equations (assignments): 80 * 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.001999/6.088, allocations: 1.029 MB / 2.841 GB, free: 255.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001311/6.089, allocations: 0.6515 MB / 2.842 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/6.089, allocations: 0 / 2.842 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006428/6.09, allocations: 453.5 kB / 2.842 GB, free: 255 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/6.091, allocations: 165.6 kB / 2.843 GB, free: 255 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/6.094, allocations: 1.281 MB / 2.844 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/6.095, allocations: 1.088 MB / 2.845 GB, free: 254 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/6.095, allocations: 0 / 2.845 GB, free: 254 MB / 0.6355 GB Notification: Performance of Templates: time 0.02728/6.122, allocations: 16.28 MB / 2.861 GB, free: 252.8 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)