Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [: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.245/2.245, 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.001571/0.00157, allocations: 177.3 kB / 360.4 MB, free: 7.488 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.774/1.774, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.00121/0.001209, allocations: 89.02 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.691e-05, allocations: 4 kB / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5717, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.778, allocations: 136.6 MB / 1.096 GB, free: 4.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.7783, allocations: 74.11 kB / 1.096 GB, free: 4.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008766/0.7871, allocations: 1.692 MB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.7871, allocations: 4.719 kB / 1.098 GB, free: 2.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003434/0.7875, allocations: 327.4 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7875, allocations: 8.531 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.7876, allocations: 5.781 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7877, allocations: 167.1 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.7878, allocations: 0 / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.7878, allocations: 0 / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.477e-05/0.7879, allocations: 17.22 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.788, allocations: 37.69 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.788, allocations: 0.5156 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.788, allocations: 4.688 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.788, allocations: 6.156 kB / 1.098 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.7882, allocations: 146.6 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.7883, allocations: 29.77 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.7884, allocations: 20.97 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.7885, allocations: 81.11 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.7886, allocations: 35.84 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.7886, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001646/0.7903, allocations: 435.6 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.7903, allocations: 51.41 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.7904, allocations: 97.73 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.7905, allocations: 25.7 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.7905, allocations: 80.64 kB / 1.099 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.7906, allocations: 20.97 kB / 1.099 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.7906, allocations: 1.594 kB / 1.099 GB, free: 0.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7907, allocations: 322.8 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.7908, allocations: 12.44 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.7908, allocations: 8.969 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.7909, allocations: 12 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7909, allocations: 1 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001832/0.7911, allocations: 69.58 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7912, allocations: 4.625 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7912, allocations: 4.641 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7912, allocations: 2.344 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.7914, allocations: 12 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7914, allocations: 0.7812 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.7914, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.7914, allocations: 4.688 kB / 1.1 GB, free: 220 kB / 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 (8): * Single equations (assignments): 8 * 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 9.697e-05/0.7916, allocations: 113.1 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.7916, allocations: 4.844 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.7918, allocations: 81.38 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7919, allocations: 3.719 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7919, allocations: 0 / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7919, allocations: 4 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.7921, allocations: 142.1 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7921, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.7922, allocations: 12 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.7922, allocations: 4.516 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.7923, allocations: 1.938 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.7923, allocations: 7.938 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7923, allocations: 0.5312 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002566/0.7926, allocations: 109.2 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.7926, allocations: 85 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.7926, allocations: 0 / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.7927, allocations: 5.594 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.7928, allocations: 0 / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.7928, allocations: 7.938 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.554e-05/0.7928, allocations: 75.28 kB / 1.1 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003286/0.7932, allocations: 44.08 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002985/0.7935, allocations: 147.2 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.7936, allocations: 28 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7936, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.7937, allocations: 23.94 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.7939, allocations: 3.984 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.7942, allocations: 92.98 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.7945, allocations: 0.6958 MB / 1.101 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.7946, allocations: 0 / 1.101 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.004112/0.7987, allocations: 0.8755 MB / 1.102 GB, free: 13.6 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)