Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [: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.131/2.131, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.001693/0.001693, allocations: 177.3 kB / 319.6 MB, free: 3.324 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.07/2.07, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.00145/0.00145, allocations: 91.31 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.283e-05/1.296e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2496, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7433/0.993, allocations: 132.1 MB / 1.017 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.9933, allocations: 81.88 kB / 1.017 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002501/0.9959, allocations: 415.8 kB / 1.017 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9959, allocations: 4 kB / 1.017 GB, free: 5.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003062/0.9962, allocations: 320.4 kB / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9964, allocations: 8.031 kB / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.9964, allocations: 7.984 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.9966, allocations: 167 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.9966, allocations: 0 / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.9967, allocations: 3.906 kB / 1.018 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.966e-05/0.9967, allocations: 4 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.9968, allocations: 33.58 kB / 1.018 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9968, allocations: 0 / 1.018 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.9968, allocations: 3.938 kB / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.9969, allocations: 0 / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.9972, allocations: 229.1 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.9973, allocations: 22.2 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.9974, allocations: 12.92 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.9974, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.9974, allocations: 30.56 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.517e-06/0.9974, allocations: 4 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001777/0.9976, allocations: 45.08 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.9977, allocations: 51.41 kB / 1.018 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.9978, allocations: 91.94 kB / 1.018 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.9978, allocations: 29.64 kB / 1.019 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.9979, allocations: 80.14 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.9979, allocations: 3.906 kB / 1.019 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.9979, allocations: 0 / 1.019 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9981, allocations: 330.6 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.9981, allocations: 0 / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.9981, allocations: 0 / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.9981, allocations: 4 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9981, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.594e-05/0.9982, allocations: 37.7 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9983, allocations: 4 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9983, allocations: 0 / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9983, allocations: 0 / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.9984, allocations: 4.094 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.9984, allocations: 4 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.9985, allocations: 0 / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.9985, allocations: 4 kB / 1.019 GB, free: 4.223 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 (2): * Single equations (assignments): 2 * 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 8.357e-05/0.9986, allocations: 108.9 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.9986, allocations: 3.938 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.9986, allocations: 8.328 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9987, allocations: 3.984 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.9987, allocations: 4 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9987, allocations: 0 / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.9989, allocations: 137.8 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9989, allocations: 4 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.9989, allocations: 4 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.999, allocations: 0 / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.999, allocations: 0 / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.999, allocations: 4 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.999, allocations: 0 / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000138/0.9991, allocations: 138.3 kB / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.9992, allocations: 81.05 kB / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.9992, allocations: 2.625 kB / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.9993, allocations: 0 / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.9993, allocations: 4 kB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.9993, allocations: 7.344 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.943e-05/0.9994, allocations: 75.28 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002991/0.9997, allocations: 4 kB / 1.02 GB, free: 3.582 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 (2): * Single equations (assignments): 2 * 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.0001605/0.9999, allocations: 107.2 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.75e-05/1, allocations: 11.19 kB / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1, allocations: 0 / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/1, allocations: 4 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/1, allocations: 1.688 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/1.001, allocations: 55.48 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/1.001, allocations: 0.688 MB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of SimCode: time 2.805e-06/1.001, allocations: 0 / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of Templates: time 0.002599/1.003, allocations: 231.1 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB