Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [: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.365/2.365, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.001646/0.001646, allocations: 181.2 kB / 319.6 MB, free: 3.332 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.86/1.86, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001697/0.001697, allocations: 89.62 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.463e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 106.3 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7549/1.023, allocations: 132.3 MB / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/1.024, allocations: 74.89 kB / 1.017 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01273/1.037, allocations: 2.362 MB / 1.02 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.037, allocations: 0 / 1.02 GB, free: 4.238 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.0004849/1.037, allocations: 344.3 kB / 1.02 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.037, allocations: 11.97 kB / 1.02 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/1.037, allocations: 4 kB / 1.02 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/1.037, allocations: 166.7 kB / 1.02 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/1.038, allocations: 4 kB / 1.02 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/1.038, allocations: 0 / 1.02 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.419e-05/1.038, allocations: 19.36 kB / 1.02 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/1.038, allocations: 59.64 kB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.038, allocations: 4 kB / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/1.038, allocations: 3.5 kB / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.038, allocations: 0 / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/1.038, allocations: 242.3 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/1.039, allocations: 41.39 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/1.039, allocations: 12.67 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/1.039, allocations: 3.984 kB / 1.02 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/1.039, allocations: 61.73 kB / 1.021 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.397e-06/1.039, allocations: 0 / 1.021 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002549/1.039, allocations: 52.34 kB / 1.021 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.039, allocations: 106.8 kB / 1.021 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.039, allocations: 96.12 kB / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.039, allocations: 25.7 kB / 1.021 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/1.039, allocations: 84.14 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/1.039, allocations: 15.27 kB / 1.021 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/1.039, allocations: 3.938 kB / 1.021 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.04, allocations: 318.8 kB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/1.04, allocations: 7.375 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/1.04, allocations: 33.56 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/1.04, allocations: 11.22 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.04, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001635/1.04, allocations: 57 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.04, allocations: 4 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.04, allocations: 0 / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.04, allocations: 0 / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/1.04, allocations: 4 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.04, allocations: 12.28 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.04, allocations: 15.98 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.04, allocations: 3.938 kB / 1.021 GB, free: 2.293 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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.000174/1.041, allocations: 105 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/1.041, allocations: 11.84 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/1.041, allocations: 7.562 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.041, allocations: 3.984 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.041, allocations: 4 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.041, allocations: 0 / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/1.041, allocations: 142.1 kB / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.041, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/1.041, allocations: 4 kB / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/1.041, allocations: 3.906 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.041, allocations: 0 / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.041, allocations: 0 / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.041, allocations: 4 kB / 1.022 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002054/1.041, allocations: 87.45 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/1.041, allocations: 89.09 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/1.042, allocations: 0 / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.042, allocations: 11.98 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.042, allocations: 0 / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.042, allocations: 4 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.399e-05/1.042, allocations: 83.03 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002969/1.042, allocations: 11.91 kB / 1.022 GB, free: 1.672 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001929/1.042, allocations: 107.2 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001695/1.043, allocations: 26.56 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.043, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/1.043, allocations: 19.19 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/1.043, allocations: 0 / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/1.043, allocations: 75.02 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.044, allocations: 0.6915 MB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/1.044, allocations: 7.938 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of Templates: time 0.00435/1.048, allocations: 0.7937 MB / 1.024 GB, free: 15.94 MB / 0.6511 GB