Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.286/2.286, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.00165, allocations: 185.2 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 91.08 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.115e-05, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6578, allocations: 115.3 MB / 0.9628 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.8982, allocations: 137.8 MB / 1.097 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.8986, allocations: 79.95 kB / 1.097 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007489/0.9061, allocations: 1.387 MB / 1.099 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.9061, allocations: 3.938 kB / 1.099 GB, free: 12.06 MB / 0.8073 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.0005859/0.9067, allocations: 394.1 kB / 1.099 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9068, allocations: 8.031 kB / 1.099 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.9068, allocations: 15.81 kB / 1.099 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.9071, allocations: 186.9 kB / 1.099 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.9071, allocations: 4 kB / 1.099 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.9072, allocations: 0 / 1.099 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002429/0.9074, allocations: 67.97 kB / 1.099 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.9077, allocations: 93.48 kB / 1.1 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9077, allocations: 0 / 1.1 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.9077, allocations: 0 / 1.1 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.9077, allocations: 0 / 1.1 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.9086, allocations: 361 kB / 1.1 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.9087, allocations: 46.56 kB / 1.1 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.9088, allocations: 32.98 kB / 1.1 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.9089, allocations: 7.984 kB / 1.1 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.9089, allocations: 34.56 kB / 1.1 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.909, allocations: 0 / 1.1 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0003891/0.9094, allocations: 93.58 kB / 1.1 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.9094, allocations: 51.41 kB / 1.1 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.9095, allocations: 120.9 kB / 1.1 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.9096, allocations: 25.7 kB / 1.1 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.9096, allocations: 104.2 kB / 1.1 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.9097, allocations: 27.78 kB / 1.1 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.9097, allocations: 0 / 1.1 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9098, allocations: 314.8 kB / 1.101 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.9099, allocations: 27.98 kB / 1.101 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.91, allocations: 23.98 kB / 1.101 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.9102, allocations: 27.98 kB / 1.101 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9102, allocations: 3.938 kB / 1.101 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003428/0.9105, allocations: 101.7 kB / 1.101 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9106, allocations: 10.66 kB / 1.101 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9106, allocations: 3.984 kB / 1.101 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9106, allocations: 0 / 1.101 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.9109, allocations: 19.98 kB / 1.101 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9109, allocations: 0 / 1.101 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.911, allocations: 23.97 kB / 1.101 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.9111, allocations: 4 kB / 1.101 GB, free: 9.668 MB / 0.8073 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 8.69e-05/0.9112, allocations: 112.7 kB / 1.101 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.9112, allocations: 11.81 kB / 1.101 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.9116, allocations: 110.1 kB / 1.101 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.9117, allocations: 3.984 kB / 1.101 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9117, allocations: 0 / 1.101 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9117, allocations: 0 / 1.101 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.912, allocations: 190 kB / 1.101 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.912, allocations: 0 / 1.101 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.9122, allocations: 19.98 kB / 1.101 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9122, allocations: 0 / 1.101 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.9122, allocations: 3.984 kB / 1.101 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9122, allocations: 3.938 kB / 1.101 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9123, allocations: 4 kB / 1.101 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003134/0.9126, allocations: 191.6 kB / 1.102 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.9127, allocations: 85.06 kB / 1.102 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.9127, allocations: 7.906 kB / 1.102 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.9129, allocations: 12 kB / 1.102 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.913, allocations: 7.984 kB / 1.102 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.913, allocations: 4 kB / 1.102 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.964e-05/0.9131, allocations: 103.3 kB / 1.102 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003329/0.9135, allocations: 12 kB / 1.102 GB, free: 8.715 MB / 0.8073 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.000181/0.9136, allocations: 101.7 kB / 1.102 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.9139, allocations: 71.92 kB / 1.102 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9139, allocations: 0 / 1.102 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.914, allocations: 43.92 kB / 1.102 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.9143, allocations: 11.84 kB / 1.102 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.9148, allocations: 143.4 kB / 1.102 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.9152, allocations: 0.7192 MB / 1.103 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.9152, allocations: 0 / 1.103 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of Templates: time 0.004165/0.9194, allocations: 0.7859 MB / 1.104 GB, free: 6.793 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)