Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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/BuildingSystems 2.0.0-master/package.mo): time 0.6892/0.6892, allocations: 141.8 MB / 149.1 MB, free: 7.238 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 174.8 kB / 181.9 MB, free: 4.637 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 436 MB, free: 12.37 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 89.86 kB / 0.507 GB, free: 5.867 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 278.9 kB / 0.5884 GB, free: 2.672 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.927e-06/8.967e-06, allocations: 4.656 kB / 0.6759 GB, free: 164.4 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1927, allocations: 82.79 MB / 0.7567 GB, free: 109.9 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.017/4.21, allocations: 1.69 GB / 2.447 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/4.21, allocations: 83.95 kB / 2.447 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.1352/4.345, allocations: 63.94 MB / 2.509 GB, free: 43.51 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 7.947e-05/4.345, allocations: 20 kB / 2.509 GB, free: 43.49 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001853/4.347, allocations: 1.086 MB / 2.51 GB, free: 42.36 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/4.347, allocations: 12.03 kB / 2.51 GB, free: 42.35 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/4.348, allocations: 194.6 kB / 2.511 GB, free: 42.16 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/4.349, allocations: 0.6075 MB / 2.511 GB, free: 41.5 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/4.349, allocations: 31.98 kB / 2.511 GB, free: 41.47 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/4.349, allocations: 47.94 kB / 2.511 GB, free: 41.43 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001279/4.351, allocations: 0.9718 MB / 2.512 GB, free: 40.45 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/4.352, allocations: 0.7155 MB / 2.513 GB, free: 39.7 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/4.352, allocations: 0 / 2.513 GB, free: 39.7 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/4.352, allocations: 4 kB / 2.513 GB, free: 39.7 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/4.352, allocations: 20 kB / 2.513 GB, free: 39.68 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/4.355, allocations: 2.297 MB / 2.515 GB, free: 37.32 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/4.356, allocations: 0.7162 MB / 2.516 GB, free: 36.57 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/4.357, allocations: 246.8 kB / 2.516 GB, free: 36.33 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/4.357, allocations: 32.67 kB / 2.516 GB, free: 36.3 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005939/4.358, allocations: 374.1 kB / 2.517 GB, free: 35.91 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=70): time 4.228e-06/4.358, allocations: 0 / 2.517 GB, free: 35.91 MB / 0.7138 GB Notification: Performance of matching and sorting (n=70): time 0.001818/4.359, allocations: 0.6249 MB / 2.517 GB, free: 35.28 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/4.36, allocations: 240 kB / 2.517 GB, free: 34.99 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/4.36, allocations: 0.4943 MB / 2.518 GB, free: 34.49 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/4.36, allocations: 29.7 kB / 2.518 GB, free: 34.46 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/4.361, allocations: 292.2 kB / 2.518 GB, free: 34.16 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/4.361, allocations: 224.5 kB / 2.518 GB, free: 33.94 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/4.361, allocations: 0 / 2.518 GB, free: 33.94 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001526/4.361, allocations: 374.8 kB / 2.519 GB, free: 33.57 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/4.361, allocations: 193.3 kB / 2.519 GB, free: 33.38 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/4.362, allocations: 282.4 kB / 2.519 GB, free: 33.07 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/4.362, allocations: 243 kB / 2.519 GB, free: 32.84 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/4.362, allocations: 0 / 2.519 GB, free: 32.84 MB / 0.7138 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001376/4.364, allocations: 0.6288 MB / 2.52 GB, free: 32.2 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/4.364, allocations: 8.062 kB / 2.52 GB, free: 32.19 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/4.364, allocations: 0 / 2.52 GB, free: 32.19 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/4.364, allocations: 92.7 kB / 2.52 GB, free: 32.09 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/4.365, allocations: 131.9 kB / 2.52 GB, free: 31.96 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/4.367, allocations: 1.458 MB / 2.522 GB, free: 30.38 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/4.367, allocations: 67.59 kB / 2.522 GB, free: 30.32 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/4.367, allocations: 27.89 kB / 2.522 GB, free: 30.29 MB / 0.7138 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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.0001829/4.368, allocations: 120.9 kB / 2.522 GB, free: 30.16 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/4.368, allocations: 67.16 kB / 2.522 GB, free: 30.1 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/4.37, allocations: 0.8931 MB / 2.523 GB, free: 29.2 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/4.37, allocations: 8 kB / 2.523 GB, free: 29.19 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/4.37, allocations: 3.938 kB / 2.523 GB, free: 29.18 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/4.37, allocations: 7.922 kB / 2.523 GB, free: 29.18 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/4.373, allocations: 1.687 MB / 2.525 GB, free: 27.44 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/4.373, allocations: 0 / 2.525 GB, free: 27.44 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/4.373, allocations: 143.8 kB / 2.525 GB, free: 27.3 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/4.374, allocations: 80.78 kB / 2.525 GB, free: 27.22 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/4.374, allocations: 15.98 kB / 2.525 GB, free: 27.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/4.375, allocations: 1.492 MB / 2.526 GB, free: 25.59 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/4.375, allocations: 3.906 kB / 2.526 GB, free: 25.58 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00129/4.376, allocations: 0.7972 MB / 2.527 GB, free: 24.76 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/4.377, allocations: 275.9 kB / 2.527 GB, free: 24.47 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/4.377, allocations: 4 kB / 2.527 GB, free: 24.47 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/4.377, allocations: 59.89 kB / 2.527 GB, free: 24.41 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/4.378, allocations: 56.83 kB / 2.527 GB, free: 24.36 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/4.378, allocations: 27.97 kB / 2.527 GB, free: 24.33 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0004096/4.378, allocations: 402.9 kB / 2.528 GB, free: 23.94 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001072/4.379, allocations: 323.1 kB / 2.528 GB, free: 23.62 MB / 0.7138 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001611/4.381, allocations: 1.051 MB / 2.529 GB, free: 22.68 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001068/4.382, allocations: 0.6389 MB / 2.53 GB, free: 22.04 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/4.382, allocations: 7.875 kB / 2.53 GB, free: 22.03 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/4.382, allocations: 432.8 kB / 2.53 GB, free: 21.6 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/4.383, allocations: 214.1 kB / 2.53 GB, free: 21.39 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/4.387, allocations: 1.315 MB / 2.532 GB, free: 20.05 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/4.387, allocations: 1.107 MB / 2.533 GB, free: 18.91 MB / 0.7138 GB Notification: Performance of SimCode: time 7.72e-07/4.387, allocations: 3.938 kB / 2.533 GB, free: 18.91 MB / 0.7138 GB Notification: Performance of Templates: time 0.02524/4.413, allocations: 16.55 MB / 2.549 GB, free: 2.48 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)