Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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.278/2.278, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.001704/0.001703, allocations: 181.2 kB / 319.6 MB, free: 3.309 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.973/1.973, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001326/0.001326, allocations: 95.3 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.165e-05/1.181e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2662, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7132/0.9795, allocations: 134.9 MB / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/0.9799, allocations: 81.33 kB / 1.02 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04221/1.022, allocations: 9.018 MB / 1.029 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.318e-05/1.022, allocations: 8 kB / 1.029 GB, free: 12.15 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.002033/1.024, allocations: 0.4887 MB / 1.029 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/1.024, allocations: 8.031 kB / 1.029 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/1.025, allocations: 23.72 kB / 1.029 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/1.025, allocations: 274.8 kB / 1.029 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/1.025, allocations: 4 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/1.025, allocations: 8 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001567/1.027, allocations: 0.7296 MB / 1.03 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/1.027, allocations: 190.4 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.027, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/1.027, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/1.028, allocations: 11.94 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.029, allocations: 0.524 MB / 1.031 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008238/1.03, allocations: 276.9 kB / 1.031 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/1.03, allocations: 97.64 kB / 1.031 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-05/1.03, allocations: 28.17 kB / 1.031 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/1.031, allocations: 155.8 kB / 1.031 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.907e-06/1.031, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0008909/1.031, allocations: 266.8 kB / 1.032 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/1.032, allocations: 132.5 kB / 1.032 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/1.032, allocations: 260.1 kB / 1.032 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/1.032, allocations: 25.7 kB / 1.032 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/1.032, allocations: 99.97 kB / 1.032 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.032, allocations: 108.9 kB / 1.032 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.032, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.033, allocations: 337.3 kB / 1.033 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/1.033, allocations: 77.28 kB / 1.033 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.033, allocations: 112.3 kB / 1.033 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/1.034, allocations: 98.16 kB / 1.033 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.034, allocations: 4 kB / 1.033 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007605/1.034, allocations: 270.2 kB / 1.033 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.034, allocations: 8 kB / 1.033 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.034, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.034, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/1.035, allocations: 59.91 kB / 1.033 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.035, allocations: 0 / 1.033 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/1.035, allocations: 23.83 kB / 1.033 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/1.035, allocations: 14.81 kB / 1.033 GB, free: 7.879 MB / 0.6511 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 (35): * Single equations (assignments): 35 * 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.0001514/1.035, allocations: 112.8 kB / 1.033 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/1.035, allocations: 23.72 kB / 1.033 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.037, allocations: 375.9 kB / 1.034 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.037, allocations: 4 kB / 1.034 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.037, allocations: 0 / 1.034 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.037, allocations: 7.891 kB / 1.034 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/1.037, allocations: 297 kB / 1.034 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.037, allocations: 0 / 1.034 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/1.038, allocations: 63.28 kB / 1.034 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.038, allocations: 0 / 1.034 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/1.038, allocations: 4 kB / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/1.038, allocations: 0 / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.038, allocations: 7.906 kB / 1.034 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007538/1.039, allocations: 304.5 kB / 1.034 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/1.039, allocations: 154.8 kB / 1.034 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/1.039, allocations: 19.83 kB / 1.035 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/1.039, allocations: 8 kB / 1.035 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/1.039, allocations: 19.95 kB / 1.035 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/1.039, allocations: 11.5 kB / 1.035 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003234/1.04, allocations: 212.3 kB / 1.035 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004914/1.04, allocations: 59.86 kB / 1.035 GB, free: 6.387 MB / 0.6511 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 (34): * Single equations (assignments): 33 * 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.0009162/1.041, allocations: 314.2 kB / 1.035 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006112/1.042, allocations: 211.6 kB / 1.035 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.042, allocations: 0 / 1.035 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/1.042, allocations: 125 kB / 1.035 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/1.043, allocations: 20.52 kB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/1.044, allocations: 396.2 kB / 1.036 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.045, allocations: 0.8112 MB / 1.037 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/1.045, allocations: 0 / 1.037 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of Templates: time 0.01288/1.058, allocations: 3.53 MB / 1.04 GB, free: 1.199 MB / 0.6511 GB