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.6714/0.6714, allocations: 127.4 MB / 134.6 MB, free: 4.055 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.001257/0.001257, allocations: 177.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.552/1.552, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.001016/0.001016, allocations: 81.84 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.256e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5884, allocations: 101.8 MB / 0.7204 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5887, allocations: 71.95 kB / 0.7204 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004041/0.5927, allocations: 1.085 MB / 0.7215 GB, free: 9.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.5927, allocations: 0 / 0.7215 GB, free: 9.422 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.0004307/0.5932, allocations: 346.4 kB / 0.7218 GB, free: 9.039 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5932, allocations: 12.02 kB / 0.7218 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.5933, allocations: 4 kB / 0.7218 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.5934, allocations: 174.9 kB / 0.722 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5935, allocations: 0 / 0.722 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.5935, allocations: 4 kB / 0.722 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.994e-05/0.5936, allocations: 12 kB / 0.722 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.5937, allocations: 33.69 kB / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5937, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.5937, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5937, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.5942, allocations: 253.4 kB / 0.7223 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.5943, allocations: 26.56 kB / 0.7223 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.5943, allocations: 16.91 kB / 0.7223 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.5944, allocations: 81.11 kB / 0.7224 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.5945, allocations: 34.56 kB / 0.7224 GB, free: 8.277 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.5945, allocations: 0 / 0.7224 GB, free: 8.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000214/0.5947, allocations: 41.61 kB / 0.7225 GB, free: 8.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.5947, allocations: 52.16 kB / 0.7225 GB, free: 8.168 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.5948, allocations: 104 kB / 0.7226 GB, free: 8.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5949, allocations: 25.7 kB / 0.7227 GB, free: 8.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.595, allocations: 80.14 kB / 0.7227 GB, free: 7.949 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.595, allocations: 3.906 kB / 0.7227 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.595, allocations: 0 / 0.7227 GB, free: 7.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5952, allocations: 318.9 kB / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.5952, allocations: 7.938 kB / 0.723 GB, free: 7.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.5952, allocations: 7.938 kB / 0.7231 GB, free: 7.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.5952, allocations: 11.98 kB / 0.7231 GB, free: 7.598 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5952, allocations: 0 / 0.7231 GB, free: 7.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.366e-05/0.5953, allocations: 45.61 kB / 0.7231 GB, free: 7.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5954, allocations: 4 kB / 0.7231 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5954, allocations: 0.7031 kB / 0.7231 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5954, allocations: 4.094 kB / 0.7231 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.5955, allocations: 15.92 kB / 0.7231 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5955, allocations: 0 / 0.7231 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.5956, allocations: 11.98 kB / 0.7231 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.5956, allocations: 0 / 0.7231 GB, free: 7.512 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.988e-05/0.5957, allocations: 111.4 kB / 0.7232 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.5957, allocations: 3.906 kB / 0.7233 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.5959, allocations: 52.92 kB / 0.7233 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5959, allocations: 4 kB / 0.7233 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5959, allocations: 0 / 0.7233 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5959, allocations: 0 / 0.7233 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.596, allocations: 142.1 kB / 0.7234 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.596, allocations: 0 / 0.7234 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.5961, allocations: 12.03 kB / 0.7235 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5961, allocations: 0 / 0.7235 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.5961, allocations: 4 kB / 0.7235 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5961, allocations: 0 / 0.7235 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5962, allocations: 0 / 0.7235 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001211/0.5963, allocations: 139.5 kB / 0.7236 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.5963, allocations: 89.95 kB / 0.7237 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.5963, allocations: 0 / 0.7237 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.5964, allocations: 11.98 kB / 0.7237 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.5965, allocations: 3.984 kB / 0.7237 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5965, allocations: 3.906 kB / 0.7237 GB, free: 6.867 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.136e-05/0.5965, allocations: 87.52 kB / 0.7238 GB, free: 6.781 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.5968, allocations: 19.94 kB / 0.7238 GB, free: 6.762 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.0001764/0.5969, allocations: 111.2 kB / 0.7239 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.597, allocations: 12 kB / 0.7239 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5971, allocations: 0 / 0.7239 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.5971, allocations: 8 kB / 0.7239 GB, free: 6.621 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.5973, allocations: 3.984 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.0002559/0.5975, allocations: 63.86 kB / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.5979, allocations: 0.6959 MB / 0.7247 GB, free: 5.809 MB / 490.7 MB Notification: Performance of SimCode: time 2.074e-06/0.5979, allocations: 0 / 0.7247 GB, free: 5.809 MB / 490.7 MB Notification: Performance of Templates: time 0.002897/0.6008, allocations: 0.5426 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)