Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") [: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.7215/0.7215, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001059/0.001059, allocations: 185.2 kB / 164.4 MB, free: 6.871 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.717/1.717, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.001145/0.001145, allocations: 91.31 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.696e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1961, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5331/0.7292, allocations: 102 MB / 0.7205 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.7296, allocations: 71.95 kB / 0.7206 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003444/0.733, allocations: 0.8741 MB / 0.7214 GB, free: 9.562 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.733, allocations: 4 kB / 0.7214 GB, free: 9.559 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003848/0.7334, allocations: 342.4 kB / 0.7217 GB, free: 9.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7335, allocations: 12.03 kB / 0.7218 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.7344, allocations: 175.7 kB / 0.7219 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.7345, allocations: 175.5 kB / 0.7221 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7345, allocations: 0 / 0.7221 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.7346, allocations: 4 kB / 0.7221 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000229/0.7348, allocations: 115.9 kB / 0.7222 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.735, allocations: 113.6 kB / 0.7223 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.735, allocations: 4.938 kB / 0.7223 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.735, allocations: 0 / 0.7223 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7351, allocations: 0 / 0.7223 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.736, allocations: 442.5 kB / 0.7227 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.7364, allocations: 166.5 kB / 0.7229 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.7365, allocations: 48.98 kB / 0.7229 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.7365, allocations: 3.984 kB / 0.723 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.7366, allocations: 34.56 kB / 0.723 GB, free: 7.809 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.7366, allocations: 6.188 kB / 0.723 GB, free: 7.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002748/0.7369, allocations: 109.6 kB / 0.7231 GB, free: 7.691 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.7369, allocations: 55.41 kB / 0.7231 GB, free: 7.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.737, allocations: 100.9 kB / 0.7232 GB, free: 7.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.737, allocations: 25.7 kB / 0.7233 GB, free: 7.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.7371, allocations: 88.12 kB / 0.7234 GB, free: 7.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.7371, allocations: 7.906 kB / 0.7234 GB, free: 7.391 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.7371, allocations: 0 / 0.7234 GB, free: 7.391 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.7372, allocations: 322.8 kB / 0.7237 GB, free: 7.066 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.7373, allocations: 43.97 kB / 0.7237 GB, free: 7.023 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.7374, allocations: 43.97 kB / 0.7238 GB, free: 6.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.7375, allocations: 32.11 kB / 0.7238 GB, free: 6.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7375, allocations: 0 / 0.7238 GB, free: 6.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002105/0.7377, allocations: 117.6 kB / 0.7239 GB, free: 6.828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7377, allocations: 4 kB / 0.7239 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7377, allocations: 0 / 0.7239 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7377, allocations: 0.75 kB / 0.7239 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.738, allocations: 55.84 kB / 0.724 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7381, allocations: 7.938 kB / 0.724 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.7383, allocations: 47.83 kB / 0.724 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7383, allocations: 4 kB / 0.724 GB, free: 6.711 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 (3): * Single equations (assignments): 3 * 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 7.591e-05/0.7384, allocations: 101 kB / 0.7241 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.7384, allocations: 7.906 kB / 0.7241 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.7385, allocations: 12 kB / 0.7241 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7385, allocations: 3.938 kB / 0.7241 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7385, allocations: 0 / 0.7241 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.7385, allocations: 0 / 0.7241 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.7387, allocations: 190 kB / 0.7243 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7387, allocations: 4 kB / 0.7243 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.739, allocations: 43.95 kB / 0.7244 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.739, allocations: 0 / 0.7244 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.739, allocations: 4 kB / 0.7244 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.739, allocations: 0 / 0.7244 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.7391, allocations: 3.984 kB / 0.7244 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000236/0.7393, allocations: 207.4 kB / 0.7246 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.7393, allocations: 81.05 kB / 0.7246 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.7394, allocations: 0 / 0.7246 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.7396, allocations: 43.95 kB / 0.7247 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.7397, allocations: 11.91 kB / 0.7247 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7397, allocations: 3.984 kB / 0.7247 GB, free: 5.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.282e-05/0.7397, allocations: 79.28 kB / 0.7248 GB, free: 5.852 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000221/0.74, allocations: 12 kB / 0.7248 GB, free: 5.84 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 (3): * Single equations (assignments): 3 * 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.0001422/0.7401, allocations: 95.25 kB / 0.7249 GB, free: 5.734 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.7403, allocations: 99.92 kB / 0.725 GB, free: 5.637 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7403, allocations: 0 / 0.725 GB, free: 5.637 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.7404, allocations: 51.97 kB / 0.725 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.7406, allocations: 0 / 0.725 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.7413, allocations: 191.7 kB / 0.7252 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.7417, allocations: 0.7032 MB / 0.7259 GB, free: 4.648 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7417, allocations: 7.938 kB / 0.7259 GB, free: 4.641 MB / 490.7 MB Notification: Performance of Templates: time 0.003311/0.745, allocations: 1.162 MB / 0.727 GB, free: 3.477 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)