Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.436/1.436, allocations: 289.8 MB / 297.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 173.3 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 83.23 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2331/0.2339, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.7971, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.9605, allocations: 145.5 MB / 1.115 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.9608, allocations: 79.89 kB / 1.115 GB, free: 2.828 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.06504/1.026, allocations: 21.41 MB / 1.136 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.026, allocations: 12 kB / 1.136 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/1.026, allocations: 67.16 kB / 1.136 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/1.039, allocations: 5.98 MB / 1.142 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/1.039, allocations: 45.28 kB / 1.142 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.04, allocations: 36 kB / 1.142 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009441/1.041, allocations: 430.5 kB / 1.142 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/1.042, allocations: 0.527 MB / 1.143 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.042, allocations: 3.906 kB / 1.143 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/1.042, allocations: 8 kB / 1.143 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/1.042, allocations: 15.94 kB / 1.143 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/1.045, allocations: 1.745 MB / 1.144 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/1.048, allocations: 0.8196 MB / 1.145 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/1.049, allocations: 264.6 kB / 1.145 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/1.049, allocations: 23.88 kB / 1.145 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.049, allocations: 46.56 kB / 1.146 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/1.049, allocations: 0 / 1.146 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001205/1.05, allocations: 0.5192 MB / 1.146 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.05, allocations: 136.5 kB / 1.146 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/1.051, allocations: 298 kB / 1.146 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/1.051, allocations: 25.7 kB / 1.146 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/1.051, allocations: 208.8 kB / 1.147 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/1.051, allocations: 224.5 kB / 1.147 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/1.051, allocations: 0 / 1.147 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.051, allocations: 358.7 kB / 1.147 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/1.051, allocations: 165.3 kB / 1.147 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/1.052, allocations: 212.6 kB / 1.148 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/1.052, allocations: 202.9 kB / 1.148 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.052, allocations: 0 / 1.148 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009674/1.053, allocations: 0.5151 MB / 1.148 GB, free: 336 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.053, allocations: 6.812 kB / 1.148 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.053, allocations: 0 / 1.148 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.053, allocations: 4 kB / 1.148 GB, free: 328 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/1.054, allocations: 147.8 kB / 1.148 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.054, allocations: 4 kB / 1.148 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/1.055, allocations: 47.56 kB / 1.148 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/1.055, allocations: 27.97 kB / 1.149 GB, free: 100 kB / 0.7448 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.0001389/1.055, allocations: 115.5 kB / 1.149 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.055, allocations: 47.44 kB / 1.149 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.057, allocations: 0.9276 MB / 1.15 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.057, allocations: 12 kB / 1.15 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.057, allocations: 4 kB / 1.15 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.057, allocations: 7.969 kB / 1.15 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.058, allocations: 0.6688 MB / 1.15 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.058, allocations: 0 / 1.15 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/1.059, allocations: 195.7 kB / 1.15 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/1.059, allocations: 8 kB / 1.15 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/1.059, allocations: 11.98 kB / 1.15 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.059, allocations: 11.91 kB / 1.15 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.059, allocations: 7.984 kB / 1.15 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001288/1.06, allocations: 1.045 MB / 1.151 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001376/1.062, allocations: 1.436 MB / 1.153 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/1.062, allocations: 236 kB / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.062, allocations: 4 kB / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/1.063, allocations: 23.97 kB / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.063, allocations: 67.8 kB / 1.153 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/1.063, allocations: 31.98 kB / 1.153 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002747/1.063, allocations: 263.2 kB / 1.153 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001717/1.065, allocations: 295.3 kB / 1.154 GB, free: 10.55 MB / 0.7605 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.001071/1.066, allocations: 427 kB / 1.154 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008246/1.067, allocations: 0.5143 MB / 1.155 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.067, allocations: 0 / 1.155 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/1.067, allocations: 375.5 kB / 1.155 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/1.068, allocations: 17.5 kB / 1.155 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/1.07, allocations: 0.8841 MB / 1.156 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/1.071, allocations: 1.057 MB / 1.157 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of SimCode: time 2.71e-07/1.071, allocations: 0 / 1.157 GB, free: 7.254 MB / 0.7605 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)