Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.49/1.49, allocations: 289.8 MB / 297.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 185.2 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009236/0.0009241, allocations: 85.02 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/6.923e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6697, allocations: 116.3 MB / 0.9726 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.8486, allocations: 138.2 MB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.8489, allocations: 71.97 kB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004099/0.853, allocations: 1.036 MB / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8531, allocations: 0 / 1.109 GB, free: 9.223 MB / 0.7136 GB 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.0004149/0.8535, allocations: 350.4 kB / 1.109 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.8535, allocations: 8.031 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.8536, allocations: 8.75 kB / 1.109 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.8537, allocations: 163 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8538, allocations: 3.938 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.8538, allocations: 4 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.726e-05/0.8539, allocations: 8 kB / 1.109 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.854, allocations: 37.59 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.854, allocations: 0 / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.854, allocations: 0 / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.854, allocations: 4 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.8545, allocations: 246.8 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.8545, allocations: 38.44 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.8546, allocations: 12.92 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.8547, allocations: 81.11 kB / 1.11 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.8547, allocations: 30.56 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.8547, allocations: 0 / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/0.855, allocations: 41.7 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.855, allocations: 51.41 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.8551, allocations: 101 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.8551, allocations: 25.7 kB / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.8551, allocations: 80.14 kB / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.8552, allocations: 7.906 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.8552, allocations: 0 / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8553, allocations: 314.8 kB / 1.11 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.8553, allocations: 8.969 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.8554, allocations: 7.984 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.8554, allocations: 15.91 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8554, allocations: 0 / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.373e-05/0.8555, allocations: 41.7 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.8555, allocations: 4 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8555, allocations: 256 / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.8556, allocations: 0 / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8557, allocations: 19.98 kB / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8557, allocations: 0 / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.8557, allocations: 12.02 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.8558, allocations: 5.125 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB 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.773e-05/0.8558, allocations: 104.9 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.8559, allocations: 0 / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.856, allocations: 55.36 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8561, allocations: 4.031 kB / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8561, allocations: 3.906 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8561, allocations: 0 / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.8562, allocations: 138.2 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8562, allocations: 0 / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.8564, allocations: 12 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8564, allocations: 0 / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.8564, allocations: 0 / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8564, allocations: 0.6562 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8564, allocations: 7.984 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001466/0.8566, allocations: 141.9 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.8566, allocations: 77.11 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.8566, allocations: 3.906 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.8567, allocations: 16.02 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.8568, allocations: 0 / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.8568, allocations: 9.625 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.057e-05/0.8568, allocations: 79.27 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002292/0.8571, allocations: 19.94 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB 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.0001919/0.8573, allocations: 107.2 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.017e-05/0.8574, allocations: 12 kB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8574, allocations: 0 / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.8574, allocations: 12 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.8576, allocations: 7.984 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.8578, allocations: 61.61 kB / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.8581, allocations: 0.688 MB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.8581, allocations: 0 / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.002604/0.8607, allocations: 0.5288 MB / 1.112 GB, free: 5.125 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)