Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7048/0.7048, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001524/0.001524, allocations: 181.3 kB / 164.4 MB, free: 6.875 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.464/1.464, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.001033/0.001033, allocations: 87.31 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.265e-05, allocations: 4 kB / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1881, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.28/5.468, allocations: 2.146 GB / 2.767 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/5.469, allocations: 95.94 kB / 2.767 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.6369/6.105, allocations: 54.14 MB / 2.82 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001129/6.106, allocations: 19.22 kB / 2.82 GB, free: 160.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003691/6.109, allocations: 1.034 MB / 2.821 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/6.109, allocations: 11.62 kB / 2.821 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/6.112, allocations: 322.5 kB / 2.821 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/6.114, allocations: 0.5149 MB / 2.822 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/6.114, allocations: 23.44 kB / 2.822 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/6.114, allocations: 43.06 kB / 2.822 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002019/6.116, allocations: 0.9873 MB / 2.823 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/6.117, allocations: 0.6808 MB / 2.824 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/6.118, allocations: 3.984 kB / 2.824 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/6.118, allocations: 6.766 kB / 2.824 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/6.118, allocations: 16.03 kB / 2.824 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/6.122, allocations: 2.187 MB / 2.826 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/6.123, allocations: 0.7226 MB / 2.826 GB, free: 158.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/6.124, allocations: 258.2 kB / 2.827 GB, free: 158.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/6.124, allocations: 469.3 kB / 2.827 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/6.125, allocations: 396.4 kB / 2.827 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 4.539e-06/6.125, allocations: 0 / 2.827 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.002152/6.127, allocations: 0.6982 MB / 2.828 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/6.127, allocations: 166.3 kB / 2.828 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/6.128, allocations: 441.2 kB / 2.829 GB, free: 158 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/6.128, allocations: 29.61 kB / 2.829 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/6.128, allocations: 274.9 kB / 2.829 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/6.129, allocations: 217.5 kB / 2.829 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/6.129, allocations: 0 / 2.829 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000143/6.129, allocations: 370.6 kB / 2.83 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/6.129, allocations: 182.2 kB / 2.83 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/6.129, allocations: 267 kB / 2.83 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/6.13, allocations: 313.4 kB / 2.83 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/6.13, allocations: 0 / 2.83 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001832/6.132, allocations: 0.7047 MB / 2.831 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/6.132, allocations: 7.844 kB / 2.831 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/6.132, allocations: 0 / 2.831 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/6.133, allocations: 88.14 kB / 2.831 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/6.134, allocations: 142.1 kB / 2.831 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/6.136, allocations: 1.45 MB / 2.833 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/6.136, allocations: 68.86 kB / 2.833 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/6.136, allocations: 29.27 kB / 2.833 GB, free: 155.8 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.0001854/6.137, allocations: 116 kB / 2.833 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/6.137, allocations: 62.73 kB / 2.833 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/6.139, allocations: 0.961 MB / 2.834 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/6.139, allocations: 7.906 kB / 2.834 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/6.139, allocations: 0 / 2.834 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/6.139, allocations: 3.469 kB / 2.834 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/6.143, allocations: 1.677 MB / 2.835 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/6.143, allocations: 0 / 2.835 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/6.144, allocations: 147.4 kB / 2.836 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/6.144, allocations: 79.75 kB / 2.836 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/6.144, allocations: 21 kB / 2.836 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/6.146, allocations: 1.478 MB / 2.837 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/6.146, allocations: 3.422 kB / 2.837 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002198/6.148, allocations: 0.8502 MB / 2.838 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/6.149, allocations: 276.9 kB / 2.838 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/6.149, allocations: 3.938 kB / 2.838 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/6.15, allocations: 55.95 kB / 2.838 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/6.15, allocations: 47.81 kB / 2.838 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/6.15, allocations: 30.28 kB / 2.838 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005437/6.15, allocations: 353.1 kB / 2.839 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001597/6.152, allocations: 308 kB / 2.839 GB, free: 153.4 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 (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.002834/6.155, allocations: 1.02 MB / 2.84 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001666/6.157, allocations: 0.6361 MB / 2.841 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/6.157, allocations: 4 kB / 2.841 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008198/6.157, allocations: 427.3 kB / 2.841 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/6.159, allocations: 171.2 kB / 2.841 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/6.163, allocations: 1.243 MB / 2.842 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/6.165, allocations: 1.073 MB / 2.843 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/6.165, allocations: 0 / 2.843 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.03724/6.202, allocations: 15.98 MB / 2.859 GB, free: 147.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)