Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") [: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.6689/0.6689, 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.001339/0.001339, allocations: 185.3 kB / 164.4 MB, free: 6.855 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.869/1.869, allocations: 205.1 MB / 399.1 MB, free: 6.055 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.0009408/0.0009408, allocations: 86.48 kB / 476.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.945e-06, allocations: 4 kB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 76.75 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6991, allocations: 101.8 MB / 0.7204 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6995, allocations: 75.95 kB / 0.7204 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004209/0.7037, allocations: 1.077 MB / 0.7215 GB, free: 9.426 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.7037, allocations: 0 / 0.7215 GB, free: 9.426 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.0003855/0.7041, allocations: 354.3 kB / 0.7218 GB, free: 9.035 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.7042, allocations: 12.03 kB / 0.7218 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.7042, allocations: 0 / 0.7218 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.7044, allocations: 168.1 kB / 0.722 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.7044, allocations: 4 kB / 0.722 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.7044, allocations: 0 / 0.722 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/0.7045, allocations: 11.98 kB / 0.722 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.7046, allocations: 41.69 kB / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7046, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.7046, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7046, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.7051, allocations: 249.3 kB / 0.7223 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.7051, allocations: 34.61 kB / 0.7223 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.7052, allocations: 8.922 kB / 0.7223 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.78e-05/0.7053, allocations: 77.11 kB / 0.7224 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.7053, allocations: 38.56 kB / 0.7224 GB, free: 8.281 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7053, allocations: 0 / 0.7224 GB, free: 8.281 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.7055, allocations: 37.61 kB / 0.7225 GB, free: 8.238 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.7056, allocations: 59.39 kB / 0.7225 GB, free: 8.168 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.7057, allocations: 97.84 kB / 0.7226 GB, free: 8.066 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.7057, allocations: 25.7 kB / 0.7226 GB, free: 8.035 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.7057, allocations: 88.14 kB / 0.7227 GB, free: 7.945 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.7058, allocations: 3.906 kB / 0.7227 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/0.7058, allocations: 0 / 0.7227 GB, free: 7.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7059, allocations: 314.8 kB / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.7059, allocations: 8 kB / 0.723 GB, free: 7.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.7059, allocations: 4 kB / 0.723 GB, free: 7.613 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.706, allocations: 8.062 kB / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.706, allocations: 0 / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.503e-05/0.7061, allocations: 41.61 kB / 0.7231 GB, free: 7.559 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7061, allocations: 4 kB / 0.7231 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7061, allocations: 8.688 kB / 0.7231 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.7061, allocations: 0 / 0.7231 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.7063, allocations: 13.3 kB / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7063, allocations: 0 / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.7063, allocations: 16.02 kB / 0.7231 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.7063, allocations: 0 / 0.7231 GB, free: 7.52 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 7.199e-05/0.7064, allocations: 111.4 kB / 0.7232 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.7065, allocations: 7.906 kB / 0.7232 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.7066, allocations: 48.94 kB / 0.7233 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7066, allocations: 4.031 kB / 0.7233 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7066, allocations: 0 / 0.7233 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7066, allocations: 0 / 0.7233 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.7068, allocations: 150.1 kB / 0.7234 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7068, allocations: 256 / 0.7234 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.7069, allocations: 8 kB / 0.7235 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.7069, allocations: 4 kB / 0.7235 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7069, allocations: 0 / 0.7235 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7069, allocations: 3.984 kB / 0.7235 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7069, allocations: 4 kB / 0.7235 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001579/0.7071, allocations: 139.4 kB / 0.7236 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.7071, allocations: 81.11 kB / 0.7237 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.7071, allocations: 3.984 kB / 0.7237 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7072, allocations: 8.031 kB / 0.7237 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.7073, allocations: 4 kB / 0.7237 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.7073, allocations: 7.891 kB / 0.7237 GB, free: 6.867 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.916e-05/0.7073, allocations: 83.28 kB / 0.7238 GB, free: 6.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.7076, allocations: 15.94 kB / 0.7238 GB, free: 6.77 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.0001937/0.7078, allocations: 107.2 kB / 0.7239 GB, free: 6.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.7079, allocations: 12 kB / 0.7239 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7079, allocations: 0 / 0.7239 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.7079, allocations: 23.98 kB / 0.7239 GB, free: 6.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.7081, allocations: 0.7031 kB / 0.7239 GB, free: 6.617 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.7083, allocations: 55.92 kB / 0.724 GB, free: 6.539 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.7086, allocations: 0.6918 MB / 0.7247 GB, free: 5.82 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7086, allocations: 0 / 0.7247 GB, free: 5.82 MB / 490.7 MB Notification: Performance of Templates: time 0.002607/0.7112, allocations: 0.5521 MB / 0.7252 GB, free: 5.277 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)