Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") [: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.296/2.296, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001552/0.001551, 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 2.088/2.088, 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.001255/0.001255, allocations: 97.64 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.305e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1918, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6478/0.8396, allocations: 132.5 MB / 1.017 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.84, allocations: 75.33 kB / 1.018 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007671/0.8477, allocations: 1.391 MB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8477, allocations: 0 / 1.019 GB, free: 4.602 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.0006526/0.8484, allocations: 385.4 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.8485, allocations: 8.031 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.8485, allocations: 15.89 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.8488, allocations: 197.1 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.8488, allocations: 4 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.8489, allocations: 4 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002402/0.8491, allocations: 68.28 kB / 1.02 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.8494, allocations: 82.91 kB / 1.02 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8494, allocations: 0 / 1.02 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.8494, allocations: 7.984 kB / 1.02 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8494, allocations: 4 kB / 1.02 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.8503, allocations: 361 kB / 1.02 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8504, allocations: 44.62 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.8506, allocations: 27.3 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.8506, allocations: 4 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.8507, allocations: 42.48 kB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.438e-06/0.8507, allocations: 3.984 kB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000392/0.8511, allocations: 99.55 kB / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.8511, allocations: 51.41 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.8513, allocations: 118.3 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.8513, allocations: 25.7 kB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.8514, allocations: 97 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.8514, allocations: 19.8 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.8515, allocations: 0 / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8516, allocations: 326.7 kB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.8517, allocations: 26.42 kB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.8518, allocations: 19.69 kB / 1.021 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.8519, allocations: 30.78 kB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8519, allocations: 0 / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002828/0.8522, allocations: 100.9 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8523, allocations: 7.938 kB / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8523, allocations: 0 / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8523, allocations: 0 / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.8526, allocations: 31.97 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8526, allocations: 0 / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.8528, allocations: 11.91 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.8528, allocations: 7.984 kB / 1.021 GB, free: 2.387 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001105/0.8529, allocations: 107.6 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.853, allocations: 7.906 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.8534, allocations: 117.1 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8534, allocations: 0 / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.8535, allocations: 4 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.8535, allocations: 11.92 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.8538, allocations: 180.1 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8538, allocations: 0 / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.854, allocations: 23.98 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.854, allocations: 0 / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.854, allocations: 7.062 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8541, allocations: 0 / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8541, allocations: 0 / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003929/0.8545, allocations: 194.9 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.8545, allocations: 88.94 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.8546, allocations: 8 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.8548, allocations: 8 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.8549, allocations: 3.984 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.8549, allocations: 4 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.549e-05/0.855, allocations: 100.8 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003486/0.8553, allocations: 19.91 kB / 1.022 GB, free: 1.5 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 (6): * Single equations (assignments): 6 * 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.000198/0.8556, allocations: 103.2 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.8558, allocations: 69.03 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8558, allocations: 2.438 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.8559, allocations: 46.98 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.8562, allocations: 1.859 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.8568, allocations: 137.2 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.8572, allocations: 0.723 MB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.8573, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of Templates: time 0.00423/0.8615, allocations: 0.7995 MB / 1.024 GB, free: 15.63 MB / 0.6511 GB