Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0009536/0.0009535, allocations: 193.2 kB / 361.1 MB, free: 7.109 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.033/1.033, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0007707/0.0007707, allocations: 95.72 kB / 0.7326 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.283e-05/1.286e-05, allocations: 4 kB / 0.8511 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4066, allocations: 115.3 MB / 0.9637 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.5368, allocations: 136.7 MB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.537, allocations: 72.52 kB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005152/0.5422, allocations: 1.692 MB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.5422, allocations: 4 kB / 1.099 GB, free: 1.676 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.0002303/0.5425, allocations: 326.4 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5425, allocations: 8.531 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.5425, allocations: 7.906 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5427, allocations: 163.1 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.5427, allocations: 2.156 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5427, allocations: 5.312 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.831e-05/0.5428, allocations: 12.52 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.5428, allocations: 38.94 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5428, allocations: 0.625 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.5429, allocations: 4.5 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5429, allocations: 4.609 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.543, allocations: 143 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.5431, allocations: 27.03 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.5431, allocations: 21.67 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/0.5432, allocations: 77.83 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5432, allocations: 39.34 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.5432, allocations: 0.6875 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0009648/0.5442, allocations: 433.7 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.5442, allocations: 52.03 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.5443, allocations: 90.45 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.5443, allocations: 29.64 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.5444, allocations: 84.7 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.5444, allocations: 20.25 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.5444, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.5445, allocations: 319.4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.5445, allocations: 12.77 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.5446, allocations: 13.89 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.5446, allocations: 13.38 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.5446, allocations: 0.5 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.5447, allocations: 70.08 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5447, allocations: 5.75 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5448, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5448, allocations: 5.109 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.5449, allocations: 12 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5449, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.417e-05/0.5449, allocations: 3.062 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5449, allocations: 4.75 kB / 1.101 GB, free: 15.43 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 (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 6.61e-05/0.545, allocations: 109.4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.545, allocations: 4.75 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.5452, allocations: 84.55 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5452, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5452, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5452, allocations: 4 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.5453, allocations: 142.1 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5453, allocations: 1.688 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.761e-05/0.5454, allocations: 12 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5454, allocations: 0.7969 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.5454, allocations: 3.984 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5454, allocations: 4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5454, allocations: 7.938 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001618/0.5456, allocations: 105 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.5456, allocations: 81.02 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5456, allocations: 5.922 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.5457, allocations: 4 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.5457, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.5457, allocations: 4 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.288e-05/0.5457, allocations: 83.28 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00021/0.546, allocations: 39.92 kB / 1.102 GB, free: 14.66 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.0001877/0.5462, allocations: 151 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.5462, allocations: 28 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5463, allocations: 5.125 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.5463, allocations: 19.94 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.098e-05/0.5464, allocations: 1.875 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/0.5466, allocations: 101.1 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5469, allocations: 0.6926 MB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5469, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.002547/0.5494, allocations: 0.8718 MB / 1.103 GB, free: 12.8 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)