Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [: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.221/2.221, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001666/0.001666, allocations: 177.3 kB / 319.6 MB, free: 3.359 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 2.104/2.104, allocations: 205.4 MB / 0.5704 GB, free: 15.1 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.001354/0.001354, allocations: 93.58 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.283e-05, allocations: 7.938 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 106.3 MB / 0.8881 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6454/0.8669, allocations: 132.8 MB / 1.018 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.8673, allocations: 78.7 kB / 1.018 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004841/0.8722, allocations: 0.7892 MB / 1.019 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.8723, allocations: 0 / 1.019 GB, free: 4.891 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004386/0.8727, allocations: 344.4 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.8728, allocations: 16.02 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.8728, allocations: 3.875 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.873, allocations: 170.9 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.8731, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.8731, allocations: 4 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/0.8732, allocations: 19.06 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.8733, allocations: 54.33 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8734, allocations: 0 / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8734, allocations: 0 / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8734, allocations: 4 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.874, allocations: 254.8 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.8743, allocations: 61.09 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.8743, allocations: 23.92 kB / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.8744, allocations: 4 kB / 1.02 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.8744, allocations: 37.02 kB / 1.02 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.775e-06/0.8744, allocations: 0 / 1.02 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002436/0.8747, allocations: 54.62 kB / 1.02 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.8747, allocations: 51.41 kB / 1.02 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.8749, allocations: 96.34 kB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.8749, allocations: 33.69 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.875, allocations: 84.14 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.875, allocations: 15.31 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.875, allocations: 0 / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8752, allocations: 314.8 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.8753, allocations: 11.67 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.8753, allocations: 7.562 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.8754, allocations: 15.56 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8754, allocations: 3.906 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001476/0.8755, allocations: 52.75 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.8756, allocations: 4 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8756, allocations: 4 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8756, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.8758, allocations: 11.98 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8758, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.8758, allocations: 3.906 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8759, allocations: 4 kB / 1.02 GB, free: 3.051 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 (5): * Single equations (assignments): 5 * 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.0001011/0.876, allocations: 101 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.876, allocations: 3.938 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.8763, allocations: 87.39 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.8763, allocations: 4 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8763, allocations: 0 / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8763, allocations: 3.984 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.8766, allocations: 144.7 kB / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8766, allocations: 0 / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.8767, allocations: 23.33 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.8767, allocations: 0 / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8768, allocations: 0 / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8768, allocations: 0 / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.8768, allocations: 8 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002287/0.877, allocations: 161.8 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.8771, allocations: 77.11 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.8771, allocations: 7.984 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.8772, allocations: 0 / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.8773, allocations: 3.906 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.8773, allocations: 4 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.052e-05/0.8774, allocations: 82.78 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003265/0.8777, allocations: 15.88 kB / 1.021 GB, free: 2.293 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 (8): * Single equations (assignments): 8 * 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.0002691/0.878, allocations: 103.2 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.8782, allocations: 34.23 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8782, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.8783, allocations: 19.44 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.8786, allocations: 4 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.8795, allocations: 94.12 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/0.8816, allocations: 0.6958 MB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of SimCode: time 6.121e-06/0.8817, allocations: 0 / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of Templates: time 0.005053/0.8868, allocations: 470.7 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB