Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [: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.6981/0.6981, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001061/0.001061, allocations: 185.2 kB / 164.4 MB, free: 6.891 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.77/1.77, allocations: 205.1 MB / 399.1 MB, free: 6.07 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: 90.75 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.288e-05/1.335e-05, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2242, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.332/5.556, allocations: 2.146 GB / 2.767 GB, free: 66.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/5.557, allocations: 89.11 kB / 2.767 GB, free: 66.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1269/5.684, allocations: 59.59 MB / 2.825 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-05/5.684, allocations: 24 kB / 2.825 GB, free: 6.41 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002093/5.686, allocations: 1.039 MB / 2.826 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/5.686, allocations: 8.031 kB / 2.826 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/5.688, allocations: 330.4 kB / 2.827 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/5.689, allocations: 0.5335 MB / 2.827 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/5.689, allocations: 24 kB / 2.827 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/5.689, allocations: 40 kB / 2.827 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001548/5.691, allocations: 0.9953 MB / 2.828 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/5.692, allocations: 0.6926 MB / 2.829 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/5.692, allocations: 0 / 2.829 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-05/5.692, allocations: 4 kB / 2.829 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/5.692, allocations: 16 kB / 2.829 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/5.696, allocations: 2.244 MB / 2.831 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3053/6.001, allocations: 0.6552 MB / 2.832 GB, free: 263.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/6.002, allocations: 265.1 kB / 2.832 GB, free: 263.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009088/6.003, allocations: 474.5 kB / 2.832 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008429/6.004, allocations: 396.6 kB / 2.833 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 4.799e-06/6.004, allocations: 0 / 2.833 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.003202/6.007, allocations: 0.719 MB / 2.834 GB, free: 263.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/6.007, allocations: 165.4 kB / 2.834 GB, free: 263.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/6.008, allocations: 448.1 kB / 2.834 GB, free: 263 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/6.008, allocations: 25.7 kB / 2.834 GB, free: 263 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/6.008, allocations: 274.3 kB / 2.834 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/6.009, allocations: 220.3 kB / 2.835 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/6.009, allocations: 0 / 2.835 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000134/6.009, allocations: 359.8 kB / 2.835 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/6.009, allocations: 199 kB / 2.835 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/6.01, allocations: 280.8 kB / 2.835 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/6.011, allocations: 311.3 kB / 2.836 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/6.011, allocations: 0 / 2.836 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003106/6.015, allocations: 0.7276 MB / 2.836 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/6.015, allocations: 9.594 kB / 2.836 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/6.015, allocations: 0 / 2.836 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009539/6.016, allocations: 79.45 kB / 2.837 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/6.017, allocations: 150.5 kB / 2.837 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/6.02, allocations: 1.463 MB / 2.838 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/6.021, allocations: 61.53 kB / 2.838 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/6.021, allocations: 30.31 kB / 2.838 GB, free: 261.1 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 (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.0003115/6.021, allocations: 118.1 kB / 2.838 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/6.022, allocations: 66.75 kB / 2.838 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/6.026, allocations: 0.9952 MB / 2.839 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/6.026, allocations: 7.781 kB / 2.839 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/6.026, allocations: 0 / 2.839 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/6.026, allocations: 3.844 kB / 2.839 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/6.027, allocations: 0.712 MB / 2.84 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/6.027, allocations: 2.344 kB / 2.84 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/6.029, allocations: 149.8 kB / 2.84 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/6.029, allocations: 84.42 kB / 2.84 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/6.03, allocations: 12.45 kB / 2.84 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/6.032, allocations: 1.485 MB / 2.842 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/6.032, allocations: 0 / 2.842 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003064/6.035, allocations: 0.7953 MB / 2.843 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/6.036, allocations: 275.5 kB / 2.843 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/6.036, allocations: 3.188 kB / 2.843 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/6.037, allocations: 67.89 kB / 2.843 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/6.037, allocations: 38.25 kB / 2.843 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/6.037, allocations: 31.7 kB / 2.843 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000609/6.038, allocations: 365.5 kB / 2.843 GB, free: 259.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001484/6.039, allocations: 314.1 kB / 2.844 GB, free: 259.1 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.002247/6.042, allocations: 1.025 MB / 2.845 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001902/6.043, allocations: 0.6461 MB / 2.845 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/6.043, allocations: 3.125 kB / 2.845 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/6.045, allocations: 439.1 kB / 2.846 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/6.046, allocations: 176.3 kB / 2.846 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/6.049, allocations: 1.25 MB / 2.847 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/6.05, allocations: 1.084 MB / 2.848 GB, free: 257.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.134e-05/6.05, allocations: 0 / 2.848 GB, free: 257.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.02368/6.074, allocations: 16.23 MB / 2.864 GB, free: 256.6 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)