Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.041/2.041, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 182.6 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.5704 GB, free: 15.01 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 86.88 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.056e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8788, allocations: 133.2 MB / 1.018 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.8792, allocations: 83.47 kB / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0153/0.8945, allocations: 2.881 MB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.8946, allocations: 0 / 1.021 GB, free: 2.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006074/0.8952, allocations: 432 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.8952, allocations: 12.03 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.8953, allocations: 15.81 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.8958, allocations: 222.2 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.8958, allocations: 0 / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.8959, allocations: 7.938 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002464/0.8961, allocations: 77.39 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.8964, allocations: 123.7 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.8965, allocations: 0 / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.8965, allocations: 0 / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.8965, allocations: 4 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.8972, allocations: 375 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.8975, allocations: 111.7 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.8977, allocations: 93.16 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.8977, allocations: 0 / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.898, allocations: 168.5 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.8981, allocations: 4 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006329/0.8987, allocations: 189.5 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.8988, allocations: 110.8 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.8991, allocations: 179.6 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.8991, allocations: 25.7 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.8992, allocations: 91.69 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.8993, allocations: 26.84 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.8993, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.8995, allocations: 333.8 kB / 1.024 GB, free: 48 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.8997, allocations: 62.28 kB / 1.024 GB, free: 0 / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.8999, allocations: 91.86 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.9002, allocations: 69.64 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9002, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005455/0.9007, allocations: 199.6 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.9008, allocations: 7.984 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.9008, allocations: 4 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.9008, allocations: 0 / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.901, allocations: 4 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.901, allocations: 4 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.9011, allocations: 4.812 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.9012, allocations: 11.91 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001719/0.9013, allocations: 146 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.9014, allocations: 15.81 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.9017, allocations: 65.89 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.9017, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9017, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.9017, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.902, allocations: 202.1 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.902, allocations: 3.984 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.9021, allocations: 11.98 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9021, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.9021, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.9022, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.9022, allocations: 0.625 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005901/0.9028, allocations: 270.5 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.9031, allocations: 116.9 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.9031, allocations: 4 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.9032, allocations: 7.984 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.9033, allocations: 6.625 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.9034, allocations: 11.44 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000182/0.9036, allocations: 146.9 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003966/0.904, allocations: 35.88 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0002771/0.9042, allocations: 135.1 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.9046, allocations: 158.2 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.9046, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.9048, allocations: 114.5 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.9051, allocations: 12.08 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.9058, allocations: 227.6 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.9063, allocations: 0.7374 MB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of SimCode: time 7.31e-07/0.9063, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.005633/0.9119, allocations: 1.229 MB / 1.027 GB, free: 12.04 MB / 0.6511 GB