Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") [: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.233/2.233, allocations: 284.9 MB / 292.2 MB, free: 9.77 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.001597/0.001597, allocations: 180.9 kB / 360.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.2 MB / 0.6188 GB, free: 3.258 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 92.64 kB / 0.7318 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.457e-06/9.608e-06, allocations: 1.156 kB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1903, allocations: 115.2 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6007/0.7911, allocations: 144.4 MB / 1.104 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.7914, allocations: 80.27 kB / 1.104 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.08873/0.8801, allocations: 20.54 MB / 1.124 GB, free: 31.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.8802, allocations: 11.12 kB / 1.124 GB, free: 31.9 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002199/0.8824, allocations: 0.8529 MB / 1.125 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8825, allocations: 7.875 kB / 1.125 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.8827, allocations: 70.03 kB / 1.125 GB, free: 31.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02287/0.9055, allocations: 5.967 MB / 1.131 GB, free: 30.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/0.906, allocations: 46.62 kB / 1.131 GB, free: 30.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.9062, allocations: 31.61 kB / 1.131 GB, free: 30.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001923/0.9082, allocations: 437.9 kB / 1.131 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.91, allocations: 0.5202 MB / 1.132 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.9101, allocations: 0 / 1.132 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.9102, allocations: 7.828 kB / 1.132 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.9103, allocations: 19.66 kB / 1.132 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007636/0.9179, allocations: 1.748 MB / 1.133 GB, free: 30.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008893/0.9269, allocations: 0.82 MB / 1.134 GB, free: 29.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.928, allocations: 257.5 kB / 1.134 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.9281, allocations: 26.16 kB / 1.134 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.9282, allocations: 57.56 kB / 1.135 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 5.45e-06/0.9282, allocations: 0 / 1.135 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.002746/0.931, allocations: 0.514 MB / 1.135 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.931, allocations: 136.2 kB / 1.135 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.9318, allocations: 288.9 kB / 1.135 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/0.9319, allocations: 29.67 kB / 1.135 GB, free: 29.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.932, allocations: 206.2 kB / 1.136 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.9323, allocations: 229.8 kB / 1.136 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.9324, allocations: 0 / 1.136 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9325, allocations: 354.1 kB / 1.136 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.9332, allocations: 161.8 kB / 1.136 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.934, allocations: 218.5 kB / 1.137 GB, free: 28.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.9351, allocations: 197.7 kB / 1.137 GB, free: 28.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9352, allocations: 7.906 kB / 1.137 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002275/0.9374, allocations: 0.5171 MB / 1.137 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9375, allocations: 5.656 kB / 1.137 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9375, allocations: 0 / 1.137 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.9375, allocations: 3.812 kB / 1.137 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.9396, allocations: 145.1 kB / 1.137 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.9396, allocations: 3.969 kB / 1.137 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.941, allocations: 46.58 kB / 1.137 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.9412, allocations: 31.77 kB / 1.138 GB, free: 28.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.9415, allocations: 108.9 kB / 1.138 GB, free: 28.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.9418, allocations: 56.16 kB / 1.138 GB, free: 28.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.9464, allocations: 0.9184 MB / 1.139 GB, free: 28.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.9465, allocations: 15.56 kB / 1.139 GB, free: 28.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.9465, allocations: 7.906 kB / 1.139 GB, free: 28.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.9465, allocations: 6.141 kB / 1.139 GB, free: 28.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.9486, allocations: 0.6676 MB / 1.139 GB, free: 28.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.9486, allocations: 5.844 kB / 1.139 GB, free: 28.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/0.9514, allocations: 192 kB / 1.139 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.463e-05/0.9515, allocations: 9.938 kB / 1.139 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.9516, allocations: 13.23 kB / 1.139 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.9517, allocations: 13.88 kB / 1.139 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.9517, allocations: 3.906 kB / 1.139 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002845/0.9545, allocations: 1.045 MB / 1.14 GB, free: 27.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/0.9552, allocations: 246.4 kB / 1.141 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.9555, allocations: 2.156 kB / 1.141 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.9571, allocations: 17.39 kB / 1.141 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.9573, allocations: 66.75 kB / 1.141 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.9575, allocations: 29.84 kB / 1.141 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005528/0.958, allocations: 265.1 kB / 1.141 GB, free: 27.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001897/0.96, allocations: 267.8 kB / 1.141 GB, free: 27.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/0.9616, allocations: 439.5 kB / 1.142 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.9636, allocations: 0.5147 MB / 1.142 GB, free: 27.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9636, allocations: 4 kB / 1.142 GB, free: 27.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.9647, allocations: 371.4 kB / 1.143 GB, free: 27.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.9656, allocations: 21.97 kB / 1.143 GB, free: 27.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.9697, allocations: 0.8941 MB / 1.144 GB, free: 26.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.9712, allocations: 1.047 MB / 1.145 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of SimCode: time 1.553e-06/0.9713, allocations: 0 / 1.145 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.02367/0.995, allocations: 8.501 MB / 1.153 GB, free: 41.41 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)