Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7913/0.7913, allocations: 141.8 MB / 149.1 MB, free: 4.457 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 176 kB / 181.9 MB, free: 124 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.3 MB / 436 MB, free: 9.27 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009576, allocations: 99.58 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 281 kB / 0.5884 GB, free: 12.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.35e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.656 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5094, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.6398, allocations: 108.6 MB / 0.8628 GB, free: 4.129 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.6401, allocations: 76.77 kB / 0.8628 GB, free: 4.055 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.00473/0.6448, allocations: 1.438 MB / 0.8642 GB, free: 2.645 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.6449, allocations: 0 / 0.8642 GB, free: 2.645 MB / 0.5263 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.0003909/0.6453, allocations: 381.9 kB / 0.8646 GB, free: 2.23 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6453, allocations: 13.03 kB / 0.8646 GB, free: 2.219 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.6454, allocations: 12.62 kB / 0.8646 GB, free: 2.207 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6455, allocations: 202.8 kB / 0.8648 GB, free: 1.969 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6456, allocations: 5 kB / 0.8648 GB, free: 1.965 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.6456, allocations: 4 kB / 0.8648 GB, free: 1.961 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001462/0.6457, allocations: 65.91 kB / 0.8649 GB, free: 1.898 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.6459, allocations: 82.41 kB / 0.865 GB, free: 1.812 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6459, allocations: 0 / 0.865 GB, free: 1.812 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6459, allocations: 0.5625 kB / 0.865 GB, free: 1.812 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6459, allocations: 7.906 kB / 0.865 GB, free: 1.805 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.6465, allocations: 362.7 kB / 0.8653 GB, free: 1.418 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.715e-05/0.6466, allocations: 39.33 kB / 0.8654 GB, free: 1.371 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.6466, allocations: 36.97 kB / 0.8654 GB, free: 1.332 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.6467, allocations: 5.172 kB / 0.8654 GB, free: 1.328 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.6467, allocations: 34.5 kB / 0.8654 GB, free: 1.285 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.6467, allocations: 4.594 kB / 0.8654 GB, free: 1.281 MB / 0.5263 GB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.647, allocations: 98.47 kB / 0.8655 GB, free: 1.18 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.647, allocations: 51.41 kB / 0.8656 GB, free: 1.117 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.6471, allocations: 113.8 kB / 0.8657 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.6471, allocations: 26.2 kB / 0.8657 GB, free: 0.9648 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.6472, allocations: 103.7 kB / 0.8658 GB, free: 0.8633 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.6472, allocations: 15.72 kB / 0.8658 GB, free: 0.8477 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.6472, allocations: 0.6562 kB / 0.8658 GB, free: 0.8477 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.6473, allocations: 324.5 kB / 0.8661 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.6473, allocations: 23.98 kB / 0.8662 GB, free: 0.5 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.6474, allocations: 20 kB / 0.8662 GB, free: 492 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.6474, allocations: 31.97 kB / 0.8662 GB, free: 460 kB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6474, allocations: 0.6562 kB / 0.8662 GB, free: 460 kB / 0.5263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000158/0.6476, allocations: 101.5 kB / 0.8663 GB, free: 352 kB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6476, allocations: 7.812 kB / 0.8663 GB, free: 348 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6476, allocations: 256 / 0.8663 GB, free: 348 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6477, allocations: 4.562 kB / 0.8663 GB, free: 344 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.6478, allocations: 37.38 kB / 0.8664 GB, free: 308 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6478, allocations: 0 / 0.8664 GB, free: 308 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.6479, allocations: 9.844 kB / 0.8664 GB, free: 300 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.6479, allocations: 8.484 kB / 0.8664 GB, free: 292 kB / 0.5263 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 4.604e-05/0.648, allocations: 101.9 kB / 0.8665 GB, free: 184 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.648, allocations: 11.89 kB / 0.8665 GB, free: 172 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.6483, allocations: 123.2 kB / 0.8666 GB, free: 40 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6483, allocations: 4 kB / 0.8666 GB, free: 36 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6483, allocations: 0.7188 kB / 0.8666 GB, free: 36 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6483, allocations: 0 / 0.8666 GB, free: 36 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.6485, allocations: 182.7 kB / 0.8668 GB, free: 15.82 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6485, allocations: 0 / 0.8668 GB, free: 15.82 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.6486, allocations: 25.67 kB / 0.8668 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6487, allocations: 0 / 0.8668 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6487, allocations: 4.531 kB / 0.8668 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6487, allocations: 1.281 kB / 0.8668 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6487, allocations: 0 / 0.8668 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002385/0.6489, allocations: 193 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.649, allocations: 81.67 kB / 0.8671 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.649, allocations: 11.92 kB / 0.8671 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.6492, allocations: 17.16 kB / 0.8671 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.6492, allocations: 3.984 kB / 0.8671 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6493, allocations: 7.188 kB / 0.8671 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.821e-05/0.6493, allocations: 99.27 kB / 0.8672 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002383/0.6496, allocations: 16 kB / 0.8672 GB, free: 15.34 MB / 0.5419 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.0002007/0.6498, allocations: 95.25 kB / 0.8673 GB, free: 15.24 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.6499, allocations: 71.97 kB / 0.8674 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6499, allocations: 4 kB / 0.8674 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.105e-05/0.65, allocations: 44.17 kB / 0.8674 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.6502, allocations: 3.906 kB / 0.8674 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.6506, allocations: 135.5 kB / 0.8676 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.6509, allocations: 0.7192 MB / 0.8683 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.6509, allocations: 0 / 0.8683 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of Templates: time 0.003067/0.654, allocations: 0.7984 MB / 0.869 GB, free: 13.45 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)