Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001174/0.001174, allocations: 181.2 kB / 316 MB, free: 3.527 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.33/1.33, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 82.27 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3504/0.3513, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.5163, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/1.028, allocations: 139.5 MB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/1.028, allocations: 77.14 kB / 1.021 GB, free: 15.13 MB / 0.6511 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.06535/1.093, allocations: 21.55 MB / 1.042 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.093, allocations: 8 kB / 1.042 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/1.094, allocations: 83.06 kB / 1.042 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/1.106, allocations: 5.987 MB / 1.048 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008389/1.107, allocations: 401.2 kB / 1.048 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/1.107, allocations: 36 kB / 1.048 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/1.108, allocations: 458.4 kB / 1.049 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/1.109, allocations: 0.5479 MB / 1.049 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.109, allocations: 0 / 1.049 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/1.11, allocations: 0 / 1.049 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/1.11, allocations: 16 kB / 1.049 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/1.113, allocations: 1.851 MB / 1.051 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/1.116, allocations: 0.8481 MB / 1.052 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/1.117, allocations: 272.1 kB / 1.052 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.523e-05/1.117, allocations: 23.58 kB / 1.052 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.117, allocations: 53.66 kB / 1.052 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.946e-06/1.117, allocations: 0 / 1.052 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001146/1.118, allocations: 0.5315 MB / 1.053 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.118, allocations: 136.5 kB / 1.053 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/1.118, allocations: 289.4 kB / 1.053 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/1.119, allocations: 29.7 kB / 1.053 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/1.119, allocations: 198.5 kB / 1.053 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/1.119, allocations: 231.8 kB / 1.054 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/1.119, allocations: 4 kB / 1.054 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.119, allocations: 353.6 kB / 1.054 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/1.119, allocations: 176 kB / 1.054 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/1.12, allocations: 232.8 kB / 1.054 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/1.12, allocations: 189.9 kB / 1.055 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.12, allocations: 0 / 1.055 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008639/1.121, allocations: 0.5327 MB / 1.055 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.121, allocations: 4 kB / 1.055 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.121, allocations: 7.938 kB / 1.055 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.121, allocations: 0 / 1.055 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.122, allocations: 185.7 kB / 1.055 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.122, allocations: 4 kB / 1.055 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/1.123, allocations: 91.45 kB / 1.055 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/1.123, allocations: 27.16 kB / 1.055 GB, free: 2.539 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.0001239/1.123, allocations: 108.3 kB / 1.056 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/1.123, allocations: 51.34 kB / 1.056 GB, free: 2.379 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/1.125, allocations: 0.9422 MB / 1.056 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.125, allocations: 15.98 kB / 1.056 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.125, allocations: 11.84 kB / 1.056 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.125, allocations: 3.984 kB / 1.057 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009161/1.126, allocations: 0.6815 MB / 1.057 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.126, allocations: 3.938 kB / 1.057 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.127, allocations: 242.5 kB / 1.057 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/1.127, allocations: 12 kB / 1.057 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/1.127, allocations: 15.84 kB / 1.057 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.127, allocations: 7.906 kB / 1.057 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.127, allocations: 4 kB / 1.057 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001167/1.129, allocations: 1.055 MB / 1.058 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00117/1.13, allocations: 1.444 MB / 1.06 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/1.13, allocations: 237.7 kB / 1.06 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.13, allocations: 4 kB / 1.06 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/1.131, allocations: 55.92 kB / 1.06 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.131, allocations: 82.66 kB / 1.06 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/1.131, allocations: 34.61 kB / 1.06 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002582/1.132, allocations: 264.6 kB / 1.061 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001452/1.133, allocations: 274.2 kB / 1.061 GB, free: 13.82 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.0009108/1.134, allocations: 409.2 kB / 1.061 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008005/1.135, allocations: 0.5425 MB / 1.062 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.135, allocations: 0 / 1.062 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000502/1.135, allocations: 401.8 kB / 1.062 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/1.136, allocations: 19.59 kB / 1.062 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/1.138, allocations: 0.9117 MB / 1.063 GB, free: 12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000864/1.139, allocations: 1.044 MB / 1.064 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/1.139, allocations: 0 / 1.064 GB, free: 10.94 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)