Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.32/1.32, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009003/0.0009003, allocations: 179.4 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 10.37 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000745/0.0007449, allocations: 83.45 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.845e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4641, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.6125, allocations: 138 MB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.6128, allocations: 70.48 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004697/0.6175, allocations: 1.391 MB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.6175, allocations: 0 / 1.1 GB, free: 0.6133 MB / 0.698 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.0004142/0.6179, allocations: 389.7 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.618, allocations: 11.09 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.618, allocations: 15.81 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.6182, allocations: 198.8 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6182, allocations: 4 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.6183, allocations: 1.312 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001407/0.6184, allocations: 59.98 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6186, allocations: 89.55 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6186, allocations: 0.5156 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6186, allocations: 2.219 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.6186, allocations: 0 / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.6191, allocations: 358.7 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.229e-05/0.6192, allocations: 51.06 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.6193, allocations: 32.97 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.6193, allocations: 7.984 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.6194, allocations: 38.56 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.6194, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002516/0.6196, allocations: 100.1 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.6197, allocations: 51.41 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.6197, allocations: 116.2 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.6198, allocations: 25.7 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.6198, allocations: 92.23 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.6198, allocations: 27.78 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.6198, allocations: 0 / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.6199, allocations: 322.8 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.62, allocations: 24 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.62, allocations: 27.92 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.6201, allocations: 27.98 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6201, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001578/0.6203, allocations: 101.5 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.6203, allocations: 7.75 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6203, allocations: 0.5625 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.6203, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.6205, allocations: 23.98 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.6205, allocations: 3.938 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.6206, allocations: 15.98 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.6206, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 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 5.781e-05/0.6207, allocations: 109 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.6207, allocations: 11.81 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.6209, allocations: 120.6 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.621, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.621, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.621, allocations: 0.5156 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.6211, allocations: 186 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6211, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.6213, allocations: 27.97 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6213, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6213, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6213, allocations: 4 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6213, allocations: 0 / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002132/0.6215, allocations: 197 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.6216, allocations: 81.91 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.6216, allocations: 7.906 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.6217, allocations: 15.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.6217, allocations: 4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6218, allocations: 7.984 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.291e-05/0.6218, allocations: 93.47 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002143/0.622, allocations: 15.98 kB / 1.103 GB, free: 13.31 MB / 0.7136 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.0001248/0.6222, allocations: 113.5 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.6223, allocations: 71.91 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6223, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.6224, allocations: 43.98 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.6225, allocations: 6.828 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.6228, allocations: 131.4 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.6231, allocations: 0.7269 MB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.6231, allocations: 0 / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.002613/0.6257, allocations: 0.7937 MB / 1.105 GB, free: 11.41 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)