Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.113/2.113, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, allocations: 185.2 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 84.8 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.139e-05, allocations: 4 kB / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5545, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.557/5.112, allocations: 2.072 GB / 3.035 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/5.112, allocations: 96.94 kB / 3.035 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.2124/5.324, allocations: 59.08 MB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.27e-05/5.325, allocations: 23.59 kB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002457/5.327, allocations: 1.091 MB / 3.094 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/5.327, allocations: 9.281 kB / 3.094 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/5.329, allocations: 198.5 kB / 3.094 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/5.33, allocations: 0.6104 MB / 3.094 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/5.33, allocations: 27.44 kB / 3.094 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/5.33, allocations: 45.25 kB / 3.094 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002308/5.332, allocations: 1.001 MB / 3.095 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/5.334, allocations: 0.7282 MB / 3.096 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/5.334, allocations: 3.938 kB / 3.096 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/5.334, allocations: 0 / 3.096 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/5.334, allocations: 20.91 kB / 3.096 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/5.34, allocations: 2.361 MB / 3.099 GB, free: 254 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/5.342, allocations: 0.6569 MB / 3.099 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/5.343, allocations: 255 kB / 3.099 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/5.343, allocations: 33.5 kB / 3.099 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/5.344, allocations: 389.4 kB / 3.1 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 3.396e-06/5.344, allocations: 0 / 3.1 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.002798/5.347, allocations: 0.6657 MB / 3.1 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/5.347, allocations: 244.5 kB / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/5.348, allocations: 0.5007 MB / 3.101 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/5.348, allocations: 26.8 kB / 3.101 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/5.348, allocations: 298.1 kB / 3.101 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/5.348, allocations: 235.7 kB / 3.102 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/5.349, allocations: 4 kB / 3.102 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000121/5.349, allocations: 380.4 kB / 3.102 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/5.349, allocations: 200.2 kB / 3.102 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/5.35, allocations: 300.5 kB / 3.103 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/5.351, allocations: 251.6 kB / 3.103 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/5.351, allocations: 0 / 3.103 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002549/5.353, allocations: 0.6766 MB / 3.103 GB, free: 252 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/5.353, allocations: 4.656 kB / 3.103 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/5.353, allocations: 3.031 kB / 3.103 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/5.354, allocations: 83.97 kB / 3.104 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/5.356, allocations: 153 kB / 3.104 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/5.358, allocations: 1.466 MB / 3.105 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/5.359, allocations: 68.05 kB / 3.105 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/5.359, allocations: 27.11 kB / 3.105 GB, free: 250.6 MB / 0.9323 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 (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.0002192/5.36, allocations: 118.5 kB / 3.105 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/5.36, allocations: 77.95 kB / 3.105 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/5.364, allocations: 0.9525 MB / 3.106 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/5.364, allocations: 9.531 kB / 3.106 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/5.364, allocations: 0 / 3.106 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/5.364, allocations: 3.984 kB / 3.106 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/5.368, allocations: 1.716 MB / 3.108 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/5.368, allocations: 6.312 kB / 3.108 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/5.37, allocations: 156.1 kB / 3.108 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009338/5.371, allocations: 82.58 kB / 3.108 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/5.371, allocations: 24.27 kB / 3.108 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/5.373, allocations: 1.469 MB / 3.11 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/5.373, allocations: 0 / 3.11 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002621/5.376, allocations: 0.8309 MB / 3.111 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/5.376, allocations: 286.5 kB / 3.111 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/5.377, allocations: 5.906 kB / 3.111 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/5.378, allocations: 60.31 kB / 3.111 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/5.378, allocations: 56.16 kB / 3.111 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/5.378, allocations: 31.08 kB / 3.111 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007689/5.379, allocations: 412.7 kB / 3.111 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001369/5.38, allocations: 305.6 kB / 3.112 GB, free: 247.2 MB / 0.9323 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 (87): * Single equations (assignments): 84 * 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.002007/5.382, allocations: 1.014 MB / 3.113 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001822/5.384, allocations: 0.6636 MB / 3.113 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/5.384, allocations: 0 / 3.113 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/5.385, allocations: 452.3 kB / 3.114 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/5.387, allocations: 219 kB / 3.114 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/5.392, allocations: 1.351 MB / 3.115 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/5.394, allocations: 1.128 MB / 3.116 GB, free: 243 MB / 0.9323 GB Notification: Performance of SimCode: time 8.72e-07/5.394, allocations: 0 / 3.116 GB, free: 243 MB / 0.9323 GB Notification: Performance of Templates: time 0.03912/5.433, allocations: 16.64 MB / 3.133 GB, free: 226.5 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)