Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [: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.059/2.059, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.00212/0.002119, allocations: 184.5 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.814/1.814, 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.001277/0.001276, allocations: 96.53 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/1.002e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6567/0.877, allocations: 133.3 MB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.8774, allocations: 88.38 kB / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01763/0.895, allocations: 3.23 MB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.8951, allocations: 0 / 1.021 GB, free: 2.18 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004955/0.8956, allocations: 377.2 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.8956, allocations: 8.031 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.8957, allocations: 3.906 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.8959, allocations: 174.6 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.8959, allocations: 4 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.8959, allocations: 4 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001221/0.8961, allocations: 43.41 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.8962, allocations: 41.69 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8962, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8962, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8962, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.8965, allocations: 164.1 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.8966, allocations: 56.86 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.8966, allocations: 28.84 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.8967, allocations: 4 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8967, allocations: 34.06 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.8968, allocations: 0 / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000255/0.897, allocations: 72.58 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.8971, allocations: 51.41 kB / 1.023 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8972, allocations: 134 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.8973, allocations: 25.7 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.8973, allocations: 83.33 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.8973, allocations: 11.84 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.8974, allocations: 0 / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8975, allocations: 318 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.8976, allocations: 42.8 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.8977, allocations: 43.81 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.8979, allocations: 46.28 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8979, allocations: 4 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000323/0.8982, allocations: 127.6 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8983, allocations: 8 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8983, allocations: 3.984 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8983, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.8984, allocations: 8.781 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8984, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.8985, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.8985, allocations: 4 kB / 1.023 GB, free: 188 kB / 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001389/0.8986, allocations: 109 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.8987, allocations: 7.906 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.8989, allocations: 82.28 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.899, allocations: 3.906 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.899, allocations: 4 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.899, allocations: 0.875 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.8992, allocations: 153.2 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8992, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.8992, allocations: 7.938 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8992, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8992, allocations: 4.031 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.8993, allocations: 7.938 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8993, allocations: 3.938 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001803/0.8995, allocations: 104 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.8995, allocations: 77.11 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.8996, allocations: 3.906 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.8996, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.8996, allocations: 8.031 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.8996, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.952e-05/0.8997, allocations: 102.3 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005196/0.9003, allocations: 75.42 kB / 1.024 GB, free: 15.39 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: 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.00049/0.9008, allocations: 183.1 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.901, allocations: 66.53 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.901, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.9011, allocations: 15.25 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.9014, allocations: 24.69 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.9018, allocations: 99.14 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.9021, allocations: 0.7036 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/0.9021, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.00741/0.9096, allocations: 2.059 MB / 1.027 GB, free: 12.29 MB / 0.6511 GB