Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.222/2.222, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001547, allocations: 179.8 kB / 360.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.2 MB / 0.6188 GB, free: 12.47 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 90.91 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.281e-05, allocations: 0 / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5825, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.7964, allocations: 137.1 MB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.7968, allocations: 69.17 kB / 1.097 GB, free: 3.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005905/0.8027, allocations: 1.038 MB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.8027, allocations: 0 / 1.098 GB, free: 2.602 MB / 0.698 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.0004575/0.8032, allocations: 356.6 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.8033, allocations: 8.031 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.8033, allocations: 3.906 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8035, allocations: 167.7 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8035, allocations: 0 / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.8035, allocations: 3.391 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.001e-05/0.8036, allocations: 15.98 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.8037, allocations: 34.52 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8037, allocations: 0.5625 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.8037, allocations: 0 / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8038, allocations: 0.5312 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.8043, allocations: 249.4 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.8044, allocations: 31.08 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.8044, allocations: 13.48 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.8045, allocations: 81.78 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.8046, allocations: 35.84 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.8046, allocations: 0 / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.8048, allocations: 42.53 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.8049, allocations: 51.91 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.8049, allocations: 95.22 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.805, allocations: 29.64 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.805, allocations: 84.77 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.805, allocations: 7.891 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8051, allocations: 0.8438 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8052, allocations: 311.5 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.8053, allocations: 8 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.8053, allocations: 11.97 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.8054, allocations: 11.91 kB / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8054, allocations: 0 / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001265/0.8055, allocations: 41.69 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8055, allocations: 8 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8056, allocations: 0 / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8056, allocations: 4.5 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.8057, allocations: 16.08 kB / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.8058, allocations: 0 / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.8059, allocations: 8 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.8059, allocations: 0 / 1.099 GB, free: 0.7109 MB / 0.698 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 8.451e-05/0.806, allocations: 108.7 kB / 1.099 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.806, allocations: 7.938 kB / 1.099 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.8062, allocations: 52.67 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8063, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.8063, allocations: 7.891 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8063, allocations: 5.172 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.8065, allocations: 136.5 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8065, allocations: 0 / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.8066, allocations: 11.98 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8066, allocations: 4.031 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.8066, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8066, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8067, allocations: 4 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001706/0.8068, allocations: 141.9 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.8069, allocations: 85.11 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.8069, allocations: 3.906 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.8071, allocations: 12.02 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.8071, allocations: 4 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.8071, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of sort global known variables: time 5.623e-05/0.8072, allocations: 81.41 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003238/0.8075, allocations: 11.94 kB / 1.1 GB, free: 15.97 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.0001936/0.8077, allocations: 111.2 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.8079, allocations: 16 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8079, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.8079, allocations: 15.94 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.8081, allocations: 5.141 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.8084, allocations: 56.73 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.8087, allocations: 0.688 MB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.8087, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of Templates: time 0.003241/0.812, allocations: 0.5335 MB / 1.101 GB, free: 14.53 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)