Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [: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.288/2.288, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.001655/0.001655, allocations: 177.3 kB / 319.6 MB, free: 3.316 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.099/2.099, 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.00132/0.00132, allocations: 107.5 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.139e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6582/0.9486, allocations: 132.3 MB / 1.017 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.9489, allocations: 82.44 kB / 1.017 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01238/0.9614, allocations: 2.365 MB / 1.02 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.9614, allocations: 0 / 1.02 GB, free: 4.07 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.0004624/0.9619, allocations: 341.9 kB / 1.02 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9619, allocations: 12.03 kB / 1.02 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.962, allocations: 7.922 kB / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.9622, allocations: 174.2 kB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.9622, allocations: 0 / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.9623, allocations: 4 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.233e-05/0.9623, allocations: 15.48 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.9625, allocations: 62.45 kB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9625, allocations: 0 / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.9626, allocations: 4 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9626, allocations: 0 / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.963, allocations: 240 kB / 1.021 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.9631, allocations: 34.33 kB / 1.021 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.9632, allocations: 20.11 kB / 1.021 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.9632, allocations: 4 kB / 1.021 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.9633, allocations: 54.61 kB / 1.021 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.9633, allocations: 0 / 1.021 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002181/0.9636, allocations: 55.53 kB / 1.021 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.9637, allocations: 103.9 kB / 1.021 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.9638, allocations: 99.38 kB / 1.021 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.9638, allocations: 29.64 kB / 1.021 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.9639, allocations: 80.14 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.9639, allocations: 23.2 kB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.9639, allocations: 0 / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9641, allocations: 314.8 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.9641, allocations: 7.25 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.9642, allocations: 37.56 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.9642, allocations: 8.062 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9643, allocations: 0 / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.9644, allocations: 60.78 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.9645, allocations: 10.44 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9645, allocations: 4 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.9645, allocations: 0 / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.9646, allocations: 7.938 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.9647, allocations: 3.906 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.9649, allocations: 11.98 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.9649, allocations: 4 kB / 1.021 GB, free: 2.121 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.0001039/0.965, allocations: 108.9 kB / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.965, allocations: 7.906 kB / 1.022 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.9651, allocations: 7.672 kB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9651, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9651, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9651, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.9653, allocations: 145 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9653, allocations: 0 / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.9654, allocations: 4 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.9654, allocations: 7.906 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.9654, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.9654, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9654, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002745/0.9657, allocations: 90.48 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/0.9658, allocations: 85.09 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.9659, allocations: 4 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.9661, allocations: 15.98 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.9661, allocations: 3.625 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.9661, allocations: 0 / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.333e-05/0.9662, allocations: 86.22 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002892/0.9665, allocations: 15.89 kB / 1.022 GB, free: 1.492 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.0001779/0.9667, allocations: 99.44 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.9669, allocations: 22.62 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9669, allocations: 4 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/0.9669, allocations: 19.88 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.9671, allocations: 7.609 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.9675, allocations: 66.97 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.9678, allocations: 0.6933 MB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of SimCode: time 2.906e-06/0.9678, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of Templates: time 0.004194/0.972, allocations: 0.8139 MB / 1.024 GB, free: 15.79 MB / 0.6511 GB