Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Bicubic.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.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Bicubic") [: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.237/2.237, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.002934/0.002934, allocations: 185.2 kB / 319.6 MB, free: 3.297 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.901/1.901, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001349/0.001349, allocations: 87.39 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.368e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.66/0.853, allocations: 131.7 MB / 1.017 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.8533, allocations: 72.39 kB / 1.017 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005552/0.8589, allocations: 0.9517 MB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.8589, allocations: 0 / 1.018 GB, free: 5.625 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007026/0.8596, allocations: 393.7 kB / 1.018 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8597, allocations: 8.031 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.8597, allocations: 7.906 kB / 1.018 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.8599, allocations: 182.8 kB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.8599, allocations: 0 / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.8599, allocations: 0 / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000214/0.8602, allocations: 65.23 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.8604, allocations: 83.23 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8604, allocations: 3.188 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8604, allocations: 3.906 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.8605, allocations: 15.98 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.8613, allocations: 359.2 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.8614, allocations: 30.31 kB / 1.019 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.8615, allocations: 16.36 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.8619, allocations: 131.6 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.862, allocations: 38.48 kB / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.862, allocations: 0 / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003875/0.8624, allocations: 68.14 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.8624, allocations: 55.39 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.8626, allocations: 136.5 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.8626, allocations: 29.7 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.8627, allocations: 118.5 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.8628, allocations: 7.906 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.8628, allocations: 0 / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8629, allocations: 318.4 kB / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.863, allocations: 22.94 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.8631, allocations: 93.62 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.8634, allocations: 58.69 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8634, allocations: 0 / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004034/0.8638, allocations: 137.8 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8638, allocations: 4 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.8638, allocations: 4 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.8639, allocations: 0 / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.8642, allocations: 48.22 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8642, allocations: 11.84 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.8645, allocations: 35.83 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.8645, allocations: 11.11 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.616e-05/0.8646, allocations: 111.3 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.8647, allocations: 7.906 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.865, allocations: 91.27 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.8651, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8651, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.8651, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.8653, allocations: 160.7 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8653, allocations: 4 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.8655, allocations: 23.92 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.8656, allocations: 4.141 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8656, allocations: 3.375 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8656, allocations: 0 / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8656, allocations: 4 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003149/0.8659, allocations: 181.3 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.866, allocations: 85.02 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.866, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.8663, allocations: 23.89 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.8663, allocations: 7.984 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8664, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.32e-05/0.8665, allocations: 104.7 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003732/0.8669, allocations: 16 kB / 1.021 GB, free: 2.246 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001835/0.867, allocations: 99.25 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.8673, allocations: 64.92 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8673, allocations: 0 / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.8673, allocations: 11.94 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.8676, allocations: 12.14 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.868, allocations: 106.8 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.8685, allocations: 0.7116 MB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of SimCode: time 4.589e-06/0.8685, allocations: 0 / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of Templates: time 0.004656/0.8732, allocations: 0.9355 MB / 1.023 GB, free: 312 kB / 0.6355 GB