Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.486/1.486, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001111/0.001111, allocations: 173.3 kB / 366.3 MB, free: 1.992 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.385/1.385, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.0008646/0.0008645, allocations: 81 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.688e-06/9.718e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5528, allocations: 116.3 MB / 0.9726 GB, free: 76.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.6983, allocations: 137.7 MB / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.6986, allocations: 76.47 kB / 1.107 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005398/0.704, allocations: 1.69 MB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.704, allocations: 0.5625 kB / 1.109 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002861/0.7043, allocations: 331.1 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7043, allocations: 10.28 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.7044, allocations: 8.406 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.7045, allocations: 159.6 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.7045, allocations: 0 / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.7046, allocations: 8.578 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.317e-05/0.7046, allocations: 9.406 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.7047, allocations: 37.69 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7047, allocations: 4 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.7047, allocations: 4.438 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.7047, allocations: 0 / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.7049, allocations: 139.6 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/0.705, allocations: 29.72 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.7051, allocations: 18.83 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.7052, allocations: 86.44 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.7052, allocations: 30.56 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.7052, allocations: 0.5625 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001036/0.7063, allocations: 447.5 kB / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.7063, allocations: 52.19 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.7064, allocations: 93.53 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.7064, allocations: 26.39 kB / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.7064, allocations: 84.78 kB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.7065, allocations: 19.66 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.7065, allocations: 4.594 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.7066, allocations: 315.3 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.7066, allocations: 5.094 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.7066, allocations: 15.98 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.7067, allocations: 14.75 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.7067, allocations: 0.5312 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001161/0.7068, allocations: 69.53 kB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.7068, allocations: 4.719 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.7068, allocations: 1.625 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.7069, allocations: 4 kB / 1.111 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.7069, allocations: 11.98 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.707, allocations: 4.5 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.707, allocations: 0.625 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.707, allocations: 2.375 kB / 1.111 GB, free: 8.797 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 5.932e-05/0.7071, allocations: 105.4 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.7071, allocations: 8.641 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.7073, allocations: 82.23 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7073, allocations: 4.719 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7073, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7073, allocations: 0.6875 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.7074, allocations: 142.1 kB / 1.111 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7074, allocations: 4.5 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.7075, allocations: 12.53 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.7075, allocations: 4 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.7075, allocations: 0.5625 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7076, allocations: 4.766 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7076, allocations: 4 kB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001665/0.7077, allocations: 106.7 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.7078, allocations: 81.02 kB / 1.111 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.7078, allocations: 7.984 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.7079, allocations: 0.9375 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.7079, allocations: 0 / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.7079, allocations: 11.94 kB / 1.111 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.677e-05/0.7079, allocations: 79.34 kB / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002279/0.7082, allocations: 43.92 kB / 1.111 GB, free: 8.023 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.0002093/0.7084, allocations: 139.2 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.7085, allocations: 35.94 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7085, allocations: 0 / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.7085, allocations: 16 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.7086, allocations: 7.875 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.7089, allocations: 96.19 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.7092, allocations: 0.6958 MB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7092, allocations: 0 / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of Templates: time 0.002752/0.7119, allocations: 0.8722 MB / 1.113 GB, free: 6.172 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)