Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [: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.6901/0.6901, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001198/0.001198, allocations: 176.2 kB / 164.4 MB, free: 6.871 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.777/1.777, allocations: 205.1 MB / 399.1 MB, free: 6.117 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.001065/0.001065, allocations: 87.81 kB / 476.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1841, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/5.613, allocations: 2.148 GB / 2.769 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/5.613, allocations: 87.94 kB / 2.769 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.4841/6.097, allocations: 92.01 MB / 2.859 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.817e-05/6.097, allocations: 35.22 kB / 2.859 GB, free: 151.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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002936/6.1, allocations: 1.378 MB / 2.86 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/6.1, allocations: 15.58 kB / 2.86 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/6.103, allocations: 378.7 kB / 2.86 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/6.104, allocations: 0.7 MB / 2.861 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/6.104, allocations: 44.19 kB / 2.861 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/6.105, allocations: 77.44 kB / 2.861 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002832/6.108, allocations: 1.371 MB / 2.863 GB, free: 150 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/6.11, allocations: 1.132 MB / 2.864 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/6.11, allocations: 0 / 2.864 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/6.11, allocations: 1.406 kB / 2.864 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/6.11, allocations: 33.28 kB / 2.864 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005831/6.116, allocations: 3.751 MB / 2.867 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/6.117, allocations: 0.8651 MB / 2.868 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/6.118, allocations: 373.6 kB / 2.869 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/6.118, allocations: 485.8 kB / 2.869 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/6.119, allocations: 0.5434 MB / 2.87 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 3.336e-06/6.119, allocations: 3.938 kB / 2.87 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104): time 0.002694/6.122, allocations: 0.9782 MB / 2.871 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/6.122, allocations: 171 kB / 2.871 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/6.123, allocations: 0.551 MB / 2.871 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/6.123, allocations: 26.92 kB / 2.871 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/6.123, allocations: 456.9 kB / 2.872 GB, free: 145.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/6.124, allocations: 332.9 kB / 2.872 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/6.124, allocations: 0 / 2.872 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001236/6.124, allocations: 381.7 kB / 2.872 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/6.124, allocations: 310.2 kB / 2.873 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/6.125, allocations: 404.3 kB / 2.873 GB, free: 145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/6.126, allocations: 448.6 kB / 2.873 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/6.126, allocations: 0 / 2.873 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002625/6.129, allocations: 1.044 MB / 2.874 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/6.129, allocations: 4.969 kB / 2.875 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/6.129, allocations: 1.031 kB / 2.875 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/6.129, allocations: 81.62 kB / 2.875 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/6.131, allocations: 228.3 kB / 2.875 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/6.133, allocations: 1.46 MB / 2.876 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/6.134, allocations: 83.62 kB / 2.876 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/6.134, allocations: 45.95 kB / 2.876 GB, free: 143.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 (116): * Single equations (assignments): 115 * 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.0002401/6.134, allocations: 125.2 kB / 2.876 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/6.134, allocations: 85.31 kB / 2.877 GB, free: 143 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/6.138, allocations: 1.37 MB / 2.878 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/6.138, allocations: 15.23 kB / 2.878 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/6.138, allocations: 4 kB / 2.878 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/6.138, allocations: 5.266 kB / 2.878 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/6.143, allocations: 2.372 MB / 2.88 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/6.143, allocations: 3.984 kB / 2.88 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/6.144, allocations: 205.5 kB / 2.88 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/6.144, allocations: 91.38 kB / 2.881 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/6.145, allocations: 20.48 kB / 2.881 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/6.146, allocations: 1.488 MB / 2.882 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/6.146, allocations: 1.031 kB / 2.882 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0025/6.149, allocations: 1.118 MB / 2.883 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/6.149, allocations: 355.2 kB / 2.883 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/6.149, allocations: 1.344 kB / 2.883 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/6.15, allocations: 61.09 kB / 2.883 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/6.15, allocations: 63.23 kB / 2.884 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.619e-05/6.15, allocations: 38.14 kB / 2.884 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005994/6.151, allocations: 481.5 kB / 2.884 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001396/6.152, allocations: 421.4 kB / 2.884 GB, free: 138 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 (111): * Single equations (assignments): 108 * 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.001615/6.154, allocations: 1.032 MB / 2.885 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001889/6.156, allocations: 0.9157 MB / 2.886 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/6.156, allocations: 1.344 kB / 2.886 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009643/6.157, allocations: 0.5563 MB / 2.887 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/6.158, allocations: 184.2 kB / 2.887 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/6.163, allocations: 1.762 MB / 2.889 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/6.165, allocations: 1.299 MB / 2.89 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/6.165, allocations: 0 / 2.89 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.03035/6.195, allocations: 19.79 MB / 2.909 GB, free: 116.4 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)