Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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.7526/0.7526, 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.001094/0.001093, allocations: 185.3 kB / 164.4 MB, free: 6.863 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.484/1.484, 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.0008935/0.0008935, allocations: 86.67 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.034e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.474, allocations: 2.147 GB / 2.768 GB, free: 64.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000389/5.474, allocations: 96.92 kB / 2.768 GB, free: 64.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1297/5.604, allocations: 55.38 MB / 2.822 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001376/5.604, allocations: 24 kB / 2.823 GB, free: 9.199 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.004019/5.608, allocations: 1.082 MB / 2.824 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/5.608, allocations: 8.031 kB / 2.824 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/5.611, allocations: 322.4 kB / 2.824 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/5.612, allocations: 0.5667 MB / 2.824 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/5.613, allocations: 63.7 kB / 2.825 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/5.613, allocations: 47.91 kB / 2.825 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/5.615, allocations: 1.023 MB / 2.826 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/5.616, allocations: 0.7135 MB / 2.826 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/5.616, allocations: 3.938 kB / 2.826 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/5.616, allocations: 7.984 kB / 2.826 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/5.616, allocations: 16 kB / 2.826 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/5.621, allocations: 2.283 MB / 2.829 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/5.623, allocations: 0.7963 MB / 2.829 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/5.623, allocations: 266.8 kB / 2.83 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/5.624, allocations: 470.1 kB / 2.83 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005826/5.625, allocations: 418.9 kB / 2.83 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 3.877e-06/5.625, allocations: 0 / 2.83 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.002227/5.627, allocations: 0.7457 MB / 2.831 GB, free: 60 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3914/6.018, allocations: 162.8 kB / 2.831 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008296/6.019, allocations: 462 kB / 2.832 GB, free: 261 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/6.019, allocations: 29.58 kB / 2.832 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/6.02, allocations: 274.4 kB / 2.832 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/6.02, allocations: 239.1 kB / 2.832 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/6.02, allocations: 0 / 2.832 GB, free: 260.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000131/6.02, allocations: 372 kB / 2.833 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/6.021, allocations: 201.5 kB / 2.833 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/6.021, allocations: 280.3 kB / 2.833 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/6.022, allocations: 326.7 kB / 2.833 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/6.022, allocations: 0 / 2.833 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001955/6.024, allocations: 0.7399 MB / 2.834 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/6.024, allocations: 3.312 kB / 2.834 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/6.024, allocations: 7.625 kB / 2.834 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/6.025, allocations: 79.77 kB / 2.834 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/6.025, allocations: 170.6 kB / 2.834 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/6.027, allocations: 1.454 MB / 2.836 GB, free: 259 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/6.028, allocations: 69.58 kB / 2.836 GB, free: 259 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/6.028, allocations: 30.42 kB / 2.836 GB, free: 259 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 (78): * Single equations (assignments): 77 * 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.0001989/6.028, allocations: 119 kB / 2.836 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/6.028, allocations: 69.69 kB / 2.836 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/6.031, allocations: 1.046 MB / 2.837 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/6.031, allocations: 11.53 kB / 2.837 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/6.031, allocations: 0 / 2.837 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/6.031, allocations: 3.047 kB / 2.837 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/6.035, allocations: 1.784 MB / 2.839 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/6.035, allocations: 3.703 kB / 2.839 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/6.035, allocations: 171.6 kB / 2.839 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/6.036, allocations: 86.23 kB / 2.839 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/6.036, allocations: 17.66 kB / 2.839 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/6.038, allocations: 1.479 MB / 2.841 GB, free: 257.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/6.038, allocations: 0 / 2.841 GB, free: 257.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001999/6.04, allocations: 0.9199 MB / 2.841 GB, free: 257.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/6.04, allocations: 280.9 kB / 2.842 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/6.04, allocations: 3.75 kB / 2.842 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/6.041, allocations: 67.61 kB / 2.842 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/6.041, allocations: 54.64 kB / 2.842 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/6.041, allocations: 36.34 kB / 2.842 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005083/6.042, allocations: 365.2 kB / 2.842 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00136/6.043, allocations: 319.8 kB / 2.842 GB, free: 256.8 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 (89): * Single equations (assignments): 86 * 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.001939/6.045, allocations: 1.032 MB / 2.843 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001474/6.046, allocations: 0.6825 MB / 2.844 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/6.047, allocations: 0 / 2.844 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/6.047, allocations: 471.9 kB / 2.845 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/6.048, allocations: 170 kB / 2.845 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/6.052, allocations: 1.309 MB / 2.846 GB, free: 256.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008929/6.053, allocations: 1.11 MB / 2.847 GB, free: 255.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/6.053, allocations: 2.469 kB / 2.847 GB, free: 255.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.0314/6.084, allocations: 16.53 MB / 2.863 GB, free: 254.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)