Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.7525/0.7525, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001223/0.001223, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.001064/0.001064, allocations: 85.88 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.959e-06/9.999e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.633/4.858, allocations: 2.146 GB / 2.767 GB, free: 65.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/4.858, allocations: 93.16 kB / 2.767 GB, free: 65.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1382/4.997, allocations: 54.74 MB / 2.821 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001353/4.997, allocations: 27.94 kB / 2.821 GB, free: 10.37 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003886/5.001, allocations: 1.039 MB / 2.822 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/5.001, allocations: 8.031 kB / 2.822 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/5.005, allocations: 330.4 kB / 2.822 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/5.006, allocations: 0.5296 MB / 2.823 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/5.007, allocations: 28 kB / 2.823 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/5.007, allocations: 40 kB / 2.823 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00285/5.01, allocations: 0.9952 MB / 2.824 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/5.012, allocations: 0.7018 MB / 2.824 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/5.012, allocations: 0 / 2.824 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/5.012, allocations: 3.984 kB / 2.824 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/5.012, allocations: 20 kB / 2.824 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/5.019, allocations: 2.228 MB / 2.826 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/5.021, allocations: 0.7245 MB / 2.827 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/5.021, allocations: 266.7 kB / 2.827 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009501/5.022, allocations: 474.2 kB / 2.828 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/5.023, allocations: 394.9 kB / 2.828 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 8.086e-06/5.023, allocations: 4 kB / 2.828 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72): time 0.003027/5.026, allocations: 0.7184 MB / 2.829 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/5.027, allocations: 166.9 kB / 2.829 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/5.028, allocations: 453.3 kB / 2.83 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/5.028, allocations: 25.7 kB / 2.83 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/5.028, allocations: 272.5 kB / 2.83 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/5.028, allocations: 232.5 kB / 2.83 GB, free: 392 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/5.028, allocations: 0 / 2.83 GB, free: 392 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000135/5.028, allocations: 366.7 kB / 2.83 GB, free: 16 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.357/5.385, allocations: 193.5 kB / 2.831 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/5.386, allocations: 274.4 kB / 2.831 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/5.387, allocations: 310.6 kB / 2.831 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/5.387, allocations: 0 / 2.831 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001879/5.389, allocations: 0.7173 MB / 2.832 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/5.389, allocations: 3.969 kB / 2.832 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/5.389, allocations: 11.12 kB / 2.832 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/5.389, allocations: 81.16 kB / 2.832 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/5.39, allocations: 155.8 kB / 2.832 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/5.392, allocations: 1.441 MB / 2.834 GB, free: 257.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/5.393, allocations: 66.38 kB / 2.834 GB, free: 257.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/5.393, allocations: 32.3 kB / 2.834 GB, free: 257.2 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 (74): * Single equations (assignments): 73 * 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.0001994/5.393, allocations: 118.6 kB / 2.834 GB, free: 257.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/5.393, allocations: 70.06 kB / 2.834 GB, free: 257.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/5.396, allocations: 1.003 MB / 2.835 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/5.396, allocations: 7.906 kB / 2.835 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/5.396, allocations: 7.875 kB / 2.835 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/5.396, allocations: 3.844 kB / 2.835 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/5.399, allocations: 1.72 MB / 2.836 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/5.399, allocations: 2.906 kB / 2.836 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/5.4, allocations: 157.9 kB / 2.837 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/5.401, allocations: 81.11 kB / 2.837 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/5.401, allocations: 17.73 kB / 2.837 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/5.402, allocations: 1.474 MB / 2.838 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/5.402, allocations: 3.391 kB / 2.838 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001893/5.404, allocations: 0.8874 MB / 2.839 GB, free: 255.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/5.405, allocations: 274.6 kB / 2.839 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/5.405, allocations: 2.812 kB / 2.839 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/5.405, allocations: 63.64 kB / 2.839 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/5.405, allocations: 41.56 kB / 2.839 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/5.406, allocations: 34.5 kB / 2.839 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004265/5.406, allocations: 362.5 kB / 2.84 GB, free: 255 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001095/5.407, allocations: 318.8 kB / 2.84 GB, free: 255 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 (82): * Single equations (assignments): 79 * 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.001556/5.409, allocations: 1.016 MB / 2.841 GB, free: 254.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001179/5.41, allocations: 0.6557 MB / 2.842 GB, free: 254.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/5.41, allocations: 0 / 2.842 GB, free: 254.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/5.41, allocations: 451.5 kB / 2.842 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/5.412, allocations: 174.4 kB / 2.842 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/5.415, allocations: 1.267 MB / 2.844 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008906/5.416, allocations: 1.094 MB / 2.845 GB, free: 253.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/5.416, allocations: 0 / 2.845 GB, free: 253.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.03014/5.446, allocations: 16.25 MB / 2.86 GB, free: 252.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)