Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4836/0.4836, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001342/0.001342, allocations: 182.8 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.208/1.208, allocations: 170.5 MB / 319 MB, free: 9.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001592/0.001592, allocations: 102.1 kB / 381 MB, free: 18.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.697e-06, allocations: 4 kB / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.4218, allocations: 93.71 MB / 0.5896 GB, free: 8.555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4222, allocations: 71.97 kB / 0.5897 GB, free: 8.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.005211/0.4274, allocations: 1.375 MB / 0.591 GB, free: 7.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4275, allocations: 4 kB / 0.5911 GB, free: 7.16 MB / 410.7 MB 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.0005069/0.428, allocations: 381 kB / 0.5914 GB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.428, allocations: 8.781 kB / 0.5914 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.4281, allocations: 19.81 kB / 0.5914 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.4284, allocations: 196.4 kB / 0.5916 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4284, allocations: 4 kB / 0.5916 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.4284, allocations: 4 kB / 0.5916 GB, free: 6.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001719/0.4286, allocations: 62.64 kB / 0.5917 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.4287, allocations: 86.08 kB / 0.5918 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4288, allocations: 0.75 kB / 0.5918 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4288, allocations: 3.906 kB / 0.5918 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.4288, allocations: 4.562 kB / 0.5918 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.4294, allocations: 361.7 kB / 0.5921 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.4295, allocations: 49.52 kB / 0.5922 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.4296, allocations: 36.91 kB / 0.5922 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.4297, allocations: 8 kB / 0.5922 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4297, allocations: 31.88 kB / 0.5923 GB, free: 5.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.4297, allocations: 0 / 0.5923 GB, free: 5.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003377/0.43, allocations: 98.59 kB / 0.5923 GB, free: 5.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.4301, allocations: 51.41 kB / 0.5924 GB, free: 5.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4303, allocations: 126.6 kB / 0.5925 GB, free: 5.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4303, allocations: 25.7 kB / 0.5925 GB, free: 5.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.4304, allocations: 100.1 kB / 0.5926 GB, free: 5.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4304, allocations: 19.66 kB / 0.5927 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.4304, allocations: 0 / 0.5927 GB, free: 5.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4305, allocations: 322.8 kB / 0.593 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.4306, allocations: 24 kB / 0.593 GB, free: 5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.4306, allocations: 23.98 kB / 0.593 GB, free: 4.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.974e-05/0.4307, allocations: 27.98 kB / 0.593 GB, free: 4.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4307, allocations: 7.406 kB / 0.593 GB, free: 4.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.4309, allocations: 102.5 kB / 0.5931 GB, free: 4.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.431, allocations: 7.906 kB / 0.5931 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.431, allocations: 0 / 0.5931 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.431, allocations: 0 / 0.5931 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4311, allocations: 27.98 kB / 0.5932 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4312, allocations: 0 / 0.5932 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.4313, allocations: 11.98 kB / 0.5932 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4313, allocations: 5.688 kB / 0.5932 GB, free: 4.789 MB / 410.7 MB 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.232e-05/0.4314, allocations: 105 kB / 0.5933 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.4314, allocations: 11.81 kB / 0.5933 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.4317, allocations: 124.6 kB / 0.5934 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4317, allocations: 4 kB / 0.5934 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4317, allocations: 0 / 0.5934 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4317, allocations: 3.328 kB / 0.5934 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.4319, allocations: 182.1 kB / 0.5936 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4319, allocations: 2.188 kB / 0.5936 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.4321, allocations: 23.98 kB / 0.5936 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4321, allocations: 4 kB / 0.5936 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4321, allocations: 0 / 0.5936 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4321, allocations: 0 / 0.5936 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4321, allocations: 0 / 0.5936 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002281/0.4324, allocations: 199.3 kB / 0.5938 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.4324, allocations: 97 kB / 0.5939 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.4325, allocations: 0 / 0.5939 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.4326, allocations: 15.98 kB / 0.5939 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.4327, allocations: 7.984 kB / 0.5939 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.4327, allocations: 5.312 kB / 0.5939 GB, free: 3.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.217e-05/0.4327, allocations: 102.1 kB / 0.594 GB, free: 3.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.433, allocations: 23.84 kB / 0.5941 GB, free: 3.824 MB / 410.7 MB 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.0001355/0.4331, allocations: 99.25 kB / 0.5942 GB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.4333, allocations: 78.44 kB / 0.5942 GB, free: 3.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4333, allocations: 3.938 kB / 0.5942 GB, free: 3.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.4334, allocations: 39.92 kB / 0.5943 GB, free: 3.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.4336, allocations: 9.031 kB / 0.5943 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.434, allocations: 132.9 kB / 0.5944 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.4343, allocations: 0.7231 MB / 0.5951 GB, free: 2.691 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4343, allocations: 0 / 0.5951 GB, free: 2.691 MB / 410.7 MB Notification: Performance of Templates: time 0.00291/0.4372, allocations: 0.7864 MB / 0.5959 GB, free: 1.938 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)