Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [: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.1/2.1, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.003316/0.003315, allocations: 188.1 kB / 319.6 MB, free: 3.297 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.996/1.996, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001336/0.001335, allocations: 95.36 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.218e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2139, allocations: 106.3 MB / 0.888 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6318/0.8457, allocations: 132.2 MB / 1.017 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.8461, allocations: 83.44 kB / 1.017 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003177/0.8493, allocations: 0.4891 MB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8493, allocations: 0 / 1.018 GB, free: 5.637 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003468/0.8497, allocations: 324.1 kB / 1.018 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8498, allocations: 16.02 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.8498, allocations: 3.906 kB / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.8499, allocations: 159.1 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.85, allocations: 4 kB / 1.018 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.85, allocations: 0 / 1.018 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.311e-05/0.8501, allocations: 7.125 kB / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/0.8502, allocations: 44.92 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.8502, allocations: 3.75 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.8502, allocations: 3.906 kB / 1.018 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8502, allocations: 0 / 1.018 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.8506, allocations: 228.3 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.8508, allocations: 41.98 kB / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.8509, allocations: 12.36 kB / 1.018 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.8509, allocations: 3.906 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.851, allocations: 38.64 kB / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.851, allocations: 2.516 kB / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001866/0.8512, allocations: 44.81 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.8512, allocations: 55.34 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.788e-05/0.8513, allocations: 88.81 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.8513, allocations: 25.7 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.8513, allocations: 80.14 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.8514, allocations: 7.844 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.8514, allocations: 0 / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8515, allocations: 322.8 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.8516, allocations: 3.125 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.8516, allocations: 4 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.8516, allocations: 10.55 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8516, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.8518, allocations: 44.38 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8518, allocations: 4 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8518, allocations: 0 / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8518, allocations: 0 / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.8519, allocations: 4 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.8519, allocations: 7.984 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.852, allocations: 0 / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.852, allocations: 4 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.421e-05/0.8521, allocations: 108.8 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.8521, allocations: 3.5 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.8523, allocations: 70.08 kB / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8523, allocations: 0 / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8524, allocations: 0 / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.8524, allocations: 7.906 kB / 1.019 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.8526, allocations: 141.5 kB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8527, allocations: 0 / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.8528, allocations: 8 kB / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8528, allocations: 0 / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8528, allocations: 0 / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8528, allocations: 0 / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.8528, allocations: 0 / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001775/0.853, allocations: 168.2 kB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.853, allocations: 77.3 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.8531, allocations: 7.906 kB / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.8532, allocations: 0 / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.8532, allocations: 11.3 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8532, allocations: 0 / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.067e-05/0.8533, allocations: 75.28 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000287/0.8536, allocations: 4 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000138/0.8537, allocations: 107.2 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.8538, allocations: 22.25 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8538, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.8539, allocations: 15.81 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.8541, allocations: 2.062 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.8544, allocations: 74.52 kB / 1.02 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.8547, allocations: 0.6876 MB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.8547, allocations: 0 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002835/0.8576, allocations: 366.5 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB