Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) [: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/Buildings 7.0.1/package.mo): time 2.602/2.602, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001744/0.001743, allocations: 189.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.1 MB / 0.5658 GB, free: 312 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.001319, allocations: 98.05 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4748/0.4762, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.7226, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7518/1.474, allocations: 139.3 MB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/1.475, allocations: 78.2 kB / 1.02 GB, free: 1.008 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.1144/1.589, allocations: 21.55 MB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.589, allocations: 8 kB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/1.59, allocations: 83.06 kB / 1.041 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02295/1.613, allocations: 5.99 MB / 1.047 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001336/1.614, allocations: 400 kB / 1.047 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/1.615, allocations: 36 kB / 1.047 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001636/1.616, allocations: 455.9 kB / 1.047 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.618, allocations: 0.5494 MB / 1.048 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/1.618, allocations: 0 / 1.048 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/1.618, allocations: 0 / 1.048 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/1.618, allocations: 16 kB / 1.048 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007423/1.625, allocations: 1.855 MB / 1.05 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006538/1.632, allocations: 0.8356 MB / 1.051 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009392/1.633, allocations: 280.2 kB / 1.051 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.633, allocations: 24.2 kB / 1.051 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/1.633, allocations: 53.09 kB / 1.051 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 4.799e-06/1.633, allocations: 0 / 1.051 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001993/1.635, allocations: 0.529 MB / 1.051 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/1.635, allocations: 140.5 kB / 1.052 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/1.636, allocations: 287.4 kB / 1.052 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.636, allocations: 25.7 kB / 1.052 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.636, allocations: 205.8 kB / 1.052 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/1.637, allocations: 231.5 kB / 1.052 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/1.637, allocations: 4 kB / 1.052 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.637, allocations: 348 kB / 1.053 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/1.638, allocations: 181.1 kB / 1.053 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/1.638, allocations: 225.9 kB / 1.053 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/1.639, allocations: 187.4 kB / 1.053 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.639, allocations: 3.938 kB / 1.053 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00183/1.641, allocations: 0.5291 MB / 1.054 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.641, allocations: 8 kB / 1.054 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.641, allocations: 4 kB / 1.054 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/1.641, allocations: 4 kB / 1.054 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.643, allocations: 186.8 kB / 1.054 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.643, allocations: 7.984 kB / 1.054 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/1.645, allocations: 83.53 kB / 1.054 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.645, allocations: 30.84 kB / 1.054 GB, free: 4.41 MB / 0.6667 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.0002532/1.646, allocations: 114.7 kB / 1.054 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/1.646, allocations: 51.34 kB / 1.054 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003575/1.649, allocations: 0.9338 MB / 1.055 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.65, allocations: 12 kB / 1.055 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.65, allocations: 0 / 1.055 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/1.65, allocations: 11.88 kB / 1.055 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/1.651, allocations: 0.6922 MB / 1.056 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.651, allocations: 0 / 1.056 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.654, allocations: 233.8 kB / 1.056 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/1.654, allocations: 12 kB / 1.056 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.654, allocations: 22.84 kB / 1.056 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.654, allocations: 4 kB / 1.056 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.654, allocations: 7.906 kB / 1.056 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00236/1.657, allocations: 1.058 MB / 1.057 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002471/1.659, allocations: 1.443 MB / 1.058 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/1.66, allocations: 239.3 kB / 1.059 GB, free: 284 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/1.66, allocations: 7.984 kB / 1.059 GB, free: 276 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/1.662, allocations: 55.94 kB / 1.059 GB, free: 220 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/1.662, allocations: 76.91 kB / 1.059 GB, free: 152 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.662, allocations: 35.16 kB / 1.059 GB, free: 124 kB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005944/1.663, allocations: 264.3 kB / 1.059 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002683/1.666, allocations: 269.8 kB / 1.059 GB, free: 15.69 MB / 0.6823 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.002193/1.668, allocations: 433.1 kB / 1.06 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001967/1.67, allocations: 0.5383 MB / 1.06 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.67, allocations: 3.938 kB / 1.06 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.671, allocations: 394.8 kB / 1.061 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/1.672, allocations: 29.03 kB / 1.061 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/1.676, allocations: 0.9074 MB / 1.062 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/1.678, allocations: 1.049 MB / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/1.678, allocations: 0 / 1.063 GB, free: 12.79 MB / 0.6823 GB