Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.667/0.667, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001137/0.001137, allocations: 193.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.632/1.632, 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.001055/0.001055, allocations: 87.17 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.013e-05, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/5.6, allocations: 2.147 GB / 2.768 GB, free: 49.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/5.601, allocations: 100.8 kB / 2.768 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.5341/6.135, allocations: 55.23 MB / 2.822 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.438e-05/6.135, allocations: 22.78 kB / 2.822 GB, free: 193.3 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002382/6.138, allocations: 1.053 MB / 2.823 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/6.138, allocations: 7.875 kB / 2.823 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/6.14, allocations: 331.8 kB / 2.824 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/6.141, allocations: 0.5297 MB / 2.824 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/6.141, allocations: 27.16 kB / 2.824 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/6.141, allocations: 46.69 kB / 2.824 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/6.143, allocations: 1.028 MB / 2.825 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/6.144, allocations: 0.7164 MB / 2.826 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/6.144, allocations: 3.594 kB / 2.826 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/6.144, allocations: 3.875 kB / 2.826 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/6.144, allocations: 21.78 kB / 2.826 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/6.148, allocations: 2.35 MB / 2.828 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/6.15, allocations: 0.6815 MB / 2.829 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/6.15, allocations: 260.4 kB / 2.829 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006962/6.151, allocations: 483.5 kB / 2.83 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006315/6.151, allocations: 411.8 kB / 2.83 GB, free: 191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 3.837e-06/6.151, allocations: 3.719 kB / 2.83 GB, free: 191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.002186/6.154, allocations: 0.7468 MB / 2.831 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/6.154, allocations: 162.8 kB / 2.831 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/6.154, allocations: 465.2 kB / 2.831 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/6.154, allocations: 25.7 kB / 2.831 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/6.154, allocations: 284.9 kB / 2.832 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/6.155, allocations: 234.7 kB / 2.832 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/6.155, allocations: 0 / 2.832 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001272/6.155, allocations: 371.6 kB / 2.832 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/6.155, allocations: 207.4 kB / 2.832 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/6.156, allocations: 285.8 kB / 2.833 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008058/6.156, allocations: 330.9 kB / 2.833 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/6.156, allocations: 0 / 2.833 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001898/6.158, allocations: 0.763 MB / 2.834 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/6.158, allocations: 3.781 kB / 2.834 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/6.158, allocations: 0 / 2.834 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/6.159, allocations: 83.23 kB / 2.834 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/6.16, allocations: 159.2 kB / 2.834 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/6.162, allocations: 1.452 MB / 2.835 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/6.163, allocations: 66.84 kB / 2.835 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/6.163, allocations: 27.7 kB / 2.835 GB, free: 188.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 (80): * Single equations (assignments): 79 * 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.0001999/6.163, allocations: 125.7 kB / 2.836 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/6.163, allocations: 71.08 kB / 2.836 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/6.166, allocations: 1.03 MB / 2.837 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/6.166, allocations: 9.844 kB / 2.837 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/6.166, allocations: 2.125 kB / 2.837 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/6.166, allocations: 5.141 kB / 2.837 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/6.169, allocations: 1.749 MB / 2.838 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/6.169, allocations: 0 / 2.838 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/6.17, allocations: 165.6 kB / 2.839 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005329/6.17, allocations: 78.77 kB / 2.839 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/6.171, allocations: 16.11 kB / 2.839 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/6.172, allocations: 1.473 MB / 2.84 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.172, allocations: 0.9375 kB / 2.84 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001992/6.174, allocations: 0.9046 MB / 2.841 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/6.175, allocations: 277.7 kB / 2.841 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/6.175, allocations: 6.312 kB / 2.841 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/6.175, allocations: 64.38 kB / 2.841 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/6.176, allocations: 41.14 kB / 2.841 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/6.176, allocations: 36.36 kB / 2.841 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004867/6.176, allocations: 368.3 kB / 2.842 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00121/6.177, allocations: 330.7 kB / 2.842 GB, free: 186.2 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.001784/6.179, allocations: 1.03 MB / 2.843 GB, free: 186 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001373/6.181, allocations: 0.6836 MB / 2.844 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.181, allocations: 0 / 2.844 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/6.181, allocations: 448 kB / 2.844 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/6.182, allocations: 170.3 kB / 2.844 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/6.186, allocations: 1.292 MB / 2.846 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008555/6.187, allocations: 1.102 MB / 2.847 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/6.187, allocations: 3.375 kB / 2.847 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.03211/6.219, allocations: 16.57 MB / 2.863 GB, free: 183.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)