Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [: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.061/2.061, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001716/0.001716, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.929/1.929, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001327/0.001326, allocations: 105 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.709e-06/9.538e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2274, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6937/0.9212, allocations: 135 MB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.9216, allocations: 83.73 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04896/0.9706, allocations: 9.103 MB / 1.029 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.023e-05/0.9707, allocations: 4 kB / 1.029 GB, free: 11.99 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.001453/0.9721, allocations: 0.5047 MB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.9722, allocations: 8.031 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.9724, allocations: 23.72 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007904/0.9732, allocations: 273.6 kB / 1.03 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.9733, allocations: 4 kB / 1.03 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.9734, allocations: 8 kB / 1.03 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002433/0.9758, allocations: 0.7203 MB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.9766, allocations: 202.3 kB / 1.031 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.9767, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.9768, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.9768, allocations: 7.984 kB / 1.031 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.9789, allocations: 0.5416 MB / 1.031 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/0.9798, allocations: 210.8 kB / 1.031 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.9802, allocations: 99.64 kB / 1.031 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.9803, allocations: 15.97 kB / 1.031 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.9809, allocations: 151 kB / 1.032 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 5.24e-06/0.981, allocations: 4 kB / 1.032 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.00123/0.9822, allocations: 249.5 kB / 1.032 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.9824, allocations: 132.5 kB / 1.032 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.9831, allocations: 266.8 kB / 1.032 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/0.9832, allocations: 29.7 kB / 1.032 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.9834, allocations: 96.25 kB / 1.032 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.9836, allocations: 105.2 kB / 1.032 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.9836, allocations: 0 / 1.032 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.9839, allocations: 337.8 kB / 1.033 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.9842, allocations: 69.91 kB / 1.033 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.9847, allocations: 128.5 kB / 1.033 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.9852, allocations: 93.12 kB / 1.033 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.9852, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001152/0.9864, allocations: 255.8 kB / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.9864, allocations: 4 kB / 1.033 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.9865, allocations: 3.938 kB / 1.033 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.9865, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.9873, allocations: 67.52 kB / 1.033 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.9873, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.9878, allocations: 27.78 kB / 1.033 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.9879, allocations: 11.98 kB / 1.033 GB, free: 7.762 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 (34): * Single equations (assignments): 34 * 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.0002379/0.9881, allocations: 112.8 kB / 1.033 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.9883, allocations: 23.72 kB / 1.033 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.9904, allocations: 374.6 kB / 1.034 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.9904, allocations: 4 kB / 1.034 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.9905, allocations: 7.938 kB / 1.034 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.9905, allocations: 3.906 kB / 1.034 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.9914, allocations: 292.5 kB / 1.034 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9914, allocations: 0 / 1.034 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.992, allocations: 59.66 kB / 1.034 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.957e-05/0.992, allocations: 4 kB / 1.034 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.9921, allocations: 11.55 kB / 1.034 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.9921, allocations: 0 / 1.034 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/0.9922, allocations: 11.78 kB / 1.034 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001238/0.9934, allocations: 294 kB / 1.034 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.9939, allocations: 161.8 kB / 1.035 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.994, allocations: 0 / 1.035 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.9946, allocations: 11.98 kB / 1.035 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.9947, allocations: 19.97 kB / 1.035 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.9948, allocations: 15.11 kB / 1.035 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005455/0.9954, allocations: 215.7 kB / 1.035 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008294/0.9962, allocations: 59.12 kB / 1.035 GB, free: 6.273 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 (33): * Single equations (assignments): 32 * 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.001513/0.9978, allocations: 310.2 kB / 1.035 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.9989, allocations: 215.3 kB / 1.035 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.999, allocations: 0 / 1.035 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.9995, allocations: 119.3 kB / 1.036 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/1, allocations: 24.59 kB / 1.036 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/1.002, allocations: 395 kB / 1.036 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.003, allocations: 0.8087 MB / 1.037 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of SimCode: time 2.445e-06/1.003, allocations: 0 / 1.037 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of Templates: time 0.02094/1.024, allocations: 3.567 MB / 1.04 GB, free: 1.062 MB / 0.6511 GB