Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.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.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") [: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.033/2.033, allocations: 253.1 MB / 260.4 MB, free: 7.398 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.001764/0.001764, allocations: 173.3 kB / 319.6 MB, free: 3.328 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.879/1.879, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001384, allocations: 90.39 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.051e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6606/0.8806, allocations: 131.9 MB / 1.017 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.881, allocations: 80.12 kB / 1.017 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003144/0.8841, allocations: 0.5052 MB / 1.017 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.8842, allocations: 4 kB / 1.017 GB, free: 5.969 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004433/0.8846, allocations: 333 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8847, allocations: 16.03 kB / 1.018 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.8848, allocations: 0.875 kB / 1.018 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.8849, allocations: 170.9 kB / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.8849, allocations: 0 / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.885, allocations: 0 / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.547e-05/0.885, allocations: 6.75 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.8851, allocations: 41.19 kB / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8852, allocations: 0 / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.8852, allocations: 0 / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.8852, allocations: 0 / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.8857, allocations: 251 kB / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.8858, allocations: 14.58 kB / 1.018 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.8858, allocations: 11.42 kB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.8859, allocations: 4 kB / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.8859, allocations: 37.94 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.8859, allocations: 0 / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.8861, allocations: 44.55 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.8861, allocations: 51.41 kB / 1.018 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.8862, allocations: 93.16 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.8863, allocations: 25.7 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.8863, allocations: 88.16 kB / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.8864, allocations: 7.906 kB / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.8864, allocations: 0 / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8865, allocations: 313.7 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.8865, allocations: 4 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.8866, allocations: 3.062 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.8866, allocations: 4 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8866, allocations: 3.938 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.697e-05/0.8867, allocations: 37.33 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8867, allocations: 8.094 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8867, allocations: 256 / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8868, allocations: 0 / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.8869, allocations: 19.89 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.8869, allocations: 3.938 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.887, allocations: 15.98 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.8871, allocations: 0 / 1.019 GB, free: 4.234 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 (1): * Single equations (assignments): 1 * 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.693e-05/0.8871, allocations: 101 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.8872, allocations: 11.84 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.8872, allocations: 7.422 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8872, allocations: 0 / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8873, allocations: 0 / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8873, allocations: 0 / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.8875, allocations: 140 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8875, allocations: 4 kB / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.8876, allocations: 11.98 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.8876, allocations: 4 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.8876, allocations: 3.984 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8876, allocations: 0 / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/0.8876, allocations: 3.906 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001314/0.8878, allocations: 130.8 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.8878, allocations: 81.02 kB / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.8879, allocations: 3.984 kB / 1.019 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.8881, allocations: 15.98 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.8881, allocations: 0 / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.8881, allocations: 11.97 kB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.53e-05/0.8882, allocations: 82.22 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002904/0.8885, allocations: 4 kB / 1.02 GB, free: 3.566 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 (1): * Single equations (assignments): 1 * 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.0001416/0.8886, allocations: 99.25 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.8887, allocations: 7.312 kB / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8888, allocations: 0 / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.8888, allocations: 11.86 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.8891, allocations: 13.72 kB / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.8893, allocations: 63.64 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.8897, allocations: 0.6918 MB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.8897, allocations: 3.938 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of Templates: time 0.003242/0.893, allocations: 0.5326 MB / 1.021 GB, free: 2.148 MB / 0.6355 GB