Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.346/1.346, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009033/0.0009033, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.09/1.09, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008546/0.0008546, allocations: 89.47 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.134e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4561, allocations: 115.3 MB / 0.9637 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.5964, allocations: 144.6 MB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5967, allocations: 84.61 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06087/0.6576, allocations: 20.53 MB / 1.125 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.6576, allocations: 12 kB / 1.125 GB, free: 6.969 MB / 0.7292 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.001669/0.6593, allocations: 0.8529 MB / 1.126 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6593, allocations: 8.531 kB / 1.126 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.6595, allocations: 71.16 kB / 1.126 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.6719, allocations: 5.973 MB / 1.132 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.6721, allocations: 41.28 kB / 1.132 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.6722, allocations: 36 kB / 1.132 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008256/0.6731, allocations: 435.4 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.6739, allocations: 0.5282 MB / 1.133 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6739, allocations: 3.906 kB / 1.133 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.674, allocations: 0 / 1.133 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.674, allocations: 16 kB / 1.133 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.677, allocations: 1.742 MB / 1.134 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.6802, allocations: 0.8262 MB / 1.135 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.6806, allocations: 252.7 kB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.6807, allocations: 31.86 kB / 1.136 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6807, allocations: 52.31 kB / 1.136 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 2.174e-06/0.6807, allocations: 4 kB / 1.136 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001072/0.6818, allocations: 0.5152 MB / 1.136 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6819, allocations: 136.5 kB / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.6822, allocations: 290.1 kB / 1.136 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.6823, allocations: 25.7 kB / 1.137 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.6824, allocations: 208.8 kB / 1.137 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.6826, allocations: 228.5 kB / 1.137 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.6826, allocations: 0 / 1.137 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6827, allocations: 358.7 kB / 1.137 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.683, allocations: 165.3 kB / 1.137 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.6833, allocations: 212.6 kB / 1.138 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.6838, allocations: 196.7 kB / 1.138 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6838, allocations: 3.938 kB / 1.138 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009299/0.6847, allocations: 0.5206 MB / 1.138 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.6847, allocations: 8 kB / 1.138 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6848, allocations: 3.75 kB / 1.138 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6848, allocations: 4 kB / 1.138 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.6856, allocations: 145.4 kB / 1.138 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6856, allocations: 3.938 kB / 1.138 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.6861, allocations: 43.56 kB / 1.139 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.6862, allocations: 27.97 kB / 1.139 GB, free: 8.832 MB / 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.0001205/0.6863, allocations: 116.8 kB / 1.139 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.6864, allocations: 51.38 kB / 1.139 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.6883, allocations: 0.9217 MB / 1.14 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.6883, allocations: 12 kB / 1.14 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.6883, allocations: 0 / 1.14 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6884, allocations: 15.97 kB / 1.14 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009436/0.6893, allocations: 0.6649 MB / 1.14 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6893, allocations: 7.984 kB / 1.14 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.6902, allocations: 195.7 kB / 1.14 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.6903, allocations: 4 kB / 1.14 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.6903, allocations: 17.23 kB / 1.141 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.6903, allocations: 7.906 kB / 1.141 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6903, allocations: 5.109 kB / 1.141 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001242/0.6916, allocations: 1.045 MB / 1.142 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.6919, allocations: 243.9 kB / 1.142 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.692, allocations: 0 / 1.142 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.6926, allocations: 23.97 kB / 1.142 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6927, allocations: 67.89 kB / 1.142 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.6928, allocations: 31.98 kB / 1.142 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002636/0.693, allocations: 263.2 kB / 1.142 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008941/0.6939, allocations: 267.4 kB / 1.142 GB, free: 4.793 MB / 0.7448 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.0008956/0.6948, allocations: 435.2 kB / 1.143 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007837/0.6956, allocations: 0.5172 MB / 1.143 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6956, allocations: 0 / 1.143 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.6961, allocations: 365.2 kB / 1.144 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.6964, allocations: 29.44 kB / 1.144 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6983, allocations: 0.8879 MB / 1.145 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/0.699, allocations: 1.046 MB / 1.146 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.699, allocations: 4 kB / 1.146 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.01446/0.7135, allocations: 8.512 MB / 1.154 GB, free: 9.113 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)