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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.379/1.379, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.000944/0.000944, allocations: 193.2 kB / 366.3 MB, free: 1.98 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.039/1.039, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007692/0.0007693, allocations: 93.52 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.315e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4133, allocations: 116.3 MB / 0.9725 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.5579, allocations: 145.5 MB / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.5581, allocations: 79.89 kB / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05918/0.6173, allocations: 20.55 MB / 1.135 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.6173, allocations: 12 kB / 1.135 GB, free: 14.32 MB / 0.7448 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.001835/0.6192, allocations: 0.8452 MB / 1.136 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.6192, allocations: 11.97 kB / 1.136 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.6194, allocations: 71.16 kB / 1.136 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.6318, allocations: 5.976 MB / 1.142 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.6321, allocations: 37.3 kB / 1.142 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6322, allocations: 36 kB / 1.142 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009217/0.6332, allocations: 434.4 kB / 1.142 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008639/0.634, allocations: 0.527 MB / 1.143 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.6341, allocations: 3.906 kB / 1.143 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.6341, allocations: 0 / 1.143 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.6341, allocations: 12 kB / 1.143 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.6372, allocations: 1.749 MB / 1.144 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.6405, allocations: 0.8226 MB / 1.145 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.6409, allocations: 263.6 kB / 1.145 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/0.641, allocations: 27.86 kB / 1.145 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.641, allocations: 50.48 kB / 1.145 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.641, allocations: 0 / 1.145 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001223/0.6422, allocations: 0.5193 MB / 1.146 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.6423, allocations: 136.5 kB / 1.146 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.6427, allocations: 294.1 kB / 1.146 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.6427, allocations: 25.7 kB / 1.146 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.6428, allocations: 200.8 kB / 1.147 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.643, allocations: 228.5 kB / 1.147 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.6431, allocations: 0 / 1.147 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.6433, allocations: 362.7 kB / 1.147 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.6436, allocations: 161.3 kB / 1.147 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.6439, allocations: 220.6 kB / 1.147 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.6443, allocations: 198.7 kB / 1.148 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6444, allocations: 0 / 1.148 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009549/0.6453, allocations: 0.5112 MB / 1.148 GB, free: 376 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6453, allocations: 11.22 kB / 1.148 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6454, allocations: 5.562 kB / 1.148 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6454, allocations: 7.984 kB / 1.148 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/0.6461, allocations: 151.8 kB / 1.148 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6462, allocations: 4 kB / 1.148 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.6467, allocations: 43.56 kB / 1.148 GB, free: 156 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.6467, allocations: 27.97 kB / 1.148 GB, free: 128 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.0001123/0.6469, allocations: 112.8 kB / 1.149 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.647, allocations: 47.48 kB / 1.149 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.649, allocations: 0.9238 MB / 1.149 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.649, allocations: 15.98 kB / 1.149 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.649, allocations: 0 / 1.149 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.649, allocations: 3.984 kB / 1.149 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009733/0.65, allocations: 0.6688 MB / 1.15 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.65, allocations: 0 / 1.15 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.6509, allocations: 199.7 kB / 1.15 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.6509, allocations: 7.984 kB / 1.15 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.651, allocations: 15.98 kB / 1.15 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.651, allocations: 11.91 kB / 1.15 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.651, allocations: 0 / 1.15 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001272/0.6523, allocations: 1.045 MB / 1.151 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.6526, allocations: 243.9 kB / 1.152 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6527, allocations: 4 kB / 1.152 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.6533, allocations: 15.97 kB / 1.152 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6534, allocations: 67.89 kB / 1.152 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.6535, allocations: 35.98 kB / 1.152 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002663/0.6537, allocations: 267.2 kB / 1.152 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009152/0.6547, allocations: 263.4 kB / 1.152 GB, free: 12.09 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.0009771/0.6556, allocations: 440.8 kB / 1.153 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008186/0.6565, allocations: 0.5105 MB / 1.153 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6565, allocations: 0 / 1.153 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.657, allocations: 369.4 kB / 1.154 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.6574, allocations: 25.44 kB / 1.154 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6592, allocations: 0.8962 MB / 1.154 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/0.66, allocations: 1.038 MB / 1.155 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of SimCode: time 4.41e-07/0.66, allocations: 0 / 1.155 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of Templates: time 0.01473/0.6747, allocations: 8.518 MB / 1.164 GB, free: 328 kB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (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 & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)