Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6973/0.6973, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 93.64 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.696e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5631/0.7654, allocations: 102.6 MB / 0.7211 GB, free: 9.879 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.7657, allocations: 75.95 kB / 0.7212 GB, free: 9.805 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.005465/0.7712, allocations: 1.398 MB / 0.7225 GB, free: 8.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.7712, allocations: 0 / 0.7225 GB, free: 8.41 MB / 490.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.000537/0.7718, allocations: 388.4 kB / 0.7229 GB, free: 7.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.7718, allocations: 12.03 kB / 0.7229 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.7719, allocations: 15.44 kB / 0.7229 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.7721, allocations: 194.8 kB / 0.7231 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.7722, allocations: 4 kB / 0.7231 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.7722, allocations: 4 kB / 0.7231 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001686/0.7724, allocations: 63.97 kB / 0.7232 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.7725, allocations: 81.66 kB / 0.7233 GB, free: 7.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7725, allocations: 3.938 kB / 0.7233 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.7726, allocations: 4 kB / 0.7233 GB, free: 7.566 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7726, allocations: 4 kB / 0.7233 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.7733, allocations: 368.9 kB / 0.7236 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.7734, allocations: 42.56 kB / 0.7237 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.7734, allocations: 32.98 kB / 0.7237 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.7735, allocations: 0 / 0.7237 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.7735, allocations: 46.48 kB / 0.7237 GB, free: 7.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.7735, allocations: 0 / 0.7237 GB, free: 7.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003062/0.7738, allocations: 93.58 kB / 0.7238 GB, free: 6.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.7739, allocations: 51.41 kB / 0.7239 GB, free: 6.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.774, allocations: 117.2 kB / 0.724 GB, free: 6.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.7741, allocations: 25.7 kB / 0.724 GB, free: 6.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.7741, allocations: 96.22 kB / 0.7241 GB, free: 6.609 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.7742, allocations: 16.55 kB / 0.7241 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.7742, allocations: 0 / 0.7241 GB, free: 6.594 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7743, allocations: 326.8 kB / 0.7244 GB, free: 6.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.7744, allocations: 23.98 kB / 0.7245 GB, free: 6.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.7744, allocations: 20 kB / 0.7245 GB, free: 6.223 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.35e-05/0.7745, allocations: 31.97 kB / 0.7245 GB, free: 6.191 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7745, allocations: 0 / 0.7245 GB, free: 6.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001742/0.7747, allocations: 101.5 kB / 0.7246 GB, free: 6.086 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7747, allocations: 7.938 kB / 0.7246 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7748, allocations: 0 / 0.7246 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7748, allocations: 0 / 0.7246 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.7749, allocations: 31.97 kB / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.775, allocations: 3.906 kB / 0.7246 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.775, allocations: 8 kB / 0.7247 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.7751, allocations: 7.984 kB / 0.7247 GB, free: 6.027 MB / 490.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 9.939e-05/0.7752, allocations: 105 kB / 0.7248 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.7752, allocations: 7.906 kB / 0.7248 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.7755, allocations: 127.5 kB / 0.7249 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7755, allocations: 4 kB / 0.7249 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7755, allocations: 0 / 0.7249 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7755, allocations: 3.984 kB / 0.7249 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.7758, allocations: 182.1 kB / 0.7251 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7758, allocations: 4.25 kB / 0.7251 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.7759, allocations: 27.98 kB / 0.7251 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7759, allocations: 0 / 0.7251 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.7759, allocations: 7.906 kB / 0.7251 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7759, allocations: 0 / 0.7251 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7759, allocations: 3.984 kB / 0.7251 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002418/0.7762, allocations: 191.4 kB / 0.7253 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.7763, allocations: 85.02 kB / 0.7254 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.7763, allocations: 7.984 kB / 0.7254 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7764, allocations: 11.94 kB / 0.7254 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.7765, allocations: 7.984 kB / 0.7254 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.7765, allocations: 3.906 kB / 0.7254 GB, free: 5.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.079e-05/0.7766, allocations: 101.5 kB / 0.7255 GB, free: 5.082 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000253/0.7768, allocations: 16 kB / 0.7255 GB, free: 5.066 MB / 490.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.0001914/0.777, allocations: 101.7 kB / 0.7256 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.7772, allocations: 71.97 kB / 0.7257 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.7772, allocations: 4 kB / 0.7257 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.7773, allocations: 39.92 kB / 0.7257 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.7775, allocations: 4 kB / 0.7257 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.7779, allocations: 127.5 kB / 0.7259 GB, free: 4.695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.7783, allocations: 0.7231 MB / 0.7266 GB, free: 3.945 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.7783, allocations: 0 / 0.7266 GB, free: 3.945 MB / 490.7 MB Notification: Performance of Templates: time 0.003046/0.7813, allocations: 0.7968 MB / 0.7273 GB, free: 3.156 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)