Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") [: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.6664/0.6664, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001047/0.001047, allocations: 181.3 kB / 164.4 MB, free: 6.887 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.793/1.793, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001071/0.001071, allocations: 90.02 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.245e-05/1.257e-05, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1968, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.7169, allocations: 102.6 MB / 0.7211 GB, free: 9.926 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.7173, allocations: 75.95 kB / 0.7212 GB, free: 9.852 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004198/0.7215, allocations: 1.123 MB / 0.7223 GB, free: 8.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.7215, allocations: 0 / 0.7223 GB, free: 8.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003682/0.7219, allocations: 346.4 kB / 0.7226 GB, free: 8.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.722, allocations: 8.031 kB / 0.7226 GB, free: 8.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.722, allocations: 7.906 kB / 0.7226 GB, free: 8.332 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7221, allocations: 163.1 kB / 0.7228 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.7222, allocations: 0 / 0.7228 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.7222, allocations: 7.938 kB / 0.7228 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.299e-05/0.7223, allocations: 15.89 kB / 0.7228 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.7224, allocations: 33.69 kB / 0.7228 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7224, allocations: 4 kB / 0.7228 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.7224, allocations: 0 / 0.7228 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.7224, allocations: 0 / 0.7228 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.7228, allocations: 233.5 kB / 0.723 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.7229, allocations: 26.58 kB / 0.7231 GB, free: 7.766 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.7229, allocations: 12.86 kB / 0.7231 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/0.7237, allocations: 481.4 kB / 0.7235 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.7237, allocations: 31.22 kB / 0.7236 GB, free: 7.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.7237, allocations: 0.75 kB / 0.7236 GB, free: 7.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004136/0.7241, allocations: 85.66 kB / 0.7236 GB, free: 7.059 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.7242, allocations: 51.41 kB / 0.7237 GB, free: 6.996 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.7243, allocations: 101 kB / 0.7238 GB, free: 6.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.7243, allocations: 25.7 kB / 0.7238 GB, free: 6.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.7244, allocations: 86.23 kB / 0.7239 GB, free: 6.773 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.7244, allocations: 7.938 kB / 0.7239 GB, free: 6.766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.7244, allocations: 0 / 0.7239 GB, free: 6.766 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7245, allocations: 326.7 kB / 0.7242 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.7246, allocations: 8.031 kB / 0.7242 GB, free: 6.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.7246, allocations: 4 kB / 0.7242 GB, free: 6.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.7248, allocations: 47.89 kB / 0.7243 GB, free: 6.379 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7248, allocations: 4.062 kB / 0.7243 GB, free: 6.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002392/0.725, allocations: 85.64 kB / 0.7244 GB, free: 6.285 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7251, allocations: 4 kB / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7251, allocations: 0 / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7251, allocations: 3.906 kB / 0.7244 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.7252, allocations: 12.03 kB / 0.7244 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.7252, allocations: 0 / 0.7244 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.7253, allocations: 8.859 kB / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.7253, allocations: 0 / 0.7244 GB, free: 6.258 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 (2): * Single equations (assignments): 2 * 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 6.916e-05/0.7253, allocations: 101 kB / 0.7245 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.7254, allocations: 7.906 kB / 0.7245 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.7257, allocations: 93.2 kB / 0.7246 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.7257, allocations: 4 kB / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7257, allocations: 3.938 kB / 0.7246 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7257, allocations: 0 / 0.7246 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.7259, allocations: 138.2 kB / 0.7247 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.7259, allocations: 8.031 kB / 0.7247 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.7259, allocations: 11.91 kB / 0.7247 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.726, allocations: 0 / 0.7247 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.726, allocations: 0 / 0.7247 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.726, allocations: 3.984 kB / 0.7247 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.726, allocations: 0 / 0.7247 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003174/0.7263, allocations: 179.4 kB / 0.7249 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.7263, allocations: 81.09 kB / 0.725 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.7264, allocations: 4 kB / 0.725 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.544e-05/0.7264, allocations: 0 / 0.725 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.7265, allocations: 15.92 kB / 0.725 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.7265, allocations: 0 / 0.725 GB, free: 5.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.357e-05/0.7266, allocations: 95.19 kB / 0.7251 GB, free: 5.445 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.7268, allocations: 23.94 kB / 0.7251 GB, free: 5.422 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 (2): * Single equations (assignments): 2 * 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.0002128/0.727, allocations: 115.2 kB / 0.7252 GB, free: 5.297 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.481e-05/0.7271, allocations: 12 kB / 0.7252 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7271, allocations: 0 / 0.7252 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.7271, allocations: 12.06 kB / 0.7253 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.7273, allocations: 3.094 kB / 0.7253 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.7275, allocations: 70.23 kB / 0.7253 GB, free: 5.184 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.7279, allocations: 0.6919 MB / 0.726 GB, free: 4.465 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7279, allocations: 0 / 0.726 GB, free: 4.465 MB / 490.7 MB Notification: Performance of Templates: time 0.002823/0.7307, allocations: 0.6706 MB / 0.7267 GB, free: 3.797 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)