Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.486/0.486, allocations: 94.73 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00125/0.00125, allocations: 179.8 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.201/1.201, allocations: 170.5 MB / 319 MB, free: 9.352 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001593/0.001593, allocations: 105.8 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.065e-05/1.067e-05, allocations: 4 kB / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1397, allocations: 61.51 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.4897, allocations: 92.56 MB / 0.5885 GB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.49, allocations: 71.95 kB / 0.5886 GB, free: 9.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.005497/0.4955, allocations: 1.655 MB / 0.5902 GB, free: 8.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4955, allocations: 0 / 0.5902 GB, free: 8.145 MB / 410.7 MB 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.0003536/0.4959, allocations: 326.4 kB / 0.5905 GB, free: 7.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.496, allocations: 8.031 kB / 0.5905 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.496, allocations: 3.406 kB / 0.5905 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.4962, allocations: 163.1 kB / 0.5907 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4962, allocations: 5.562 kB / 0.5907 GB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4962, allocations: 0 / 0.5907 GB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.668e-05/0.4963, allocations: 4 kB / 0.5907 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.4964, allocations: 50.06 kB / 0.5907 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4964, allocations: 3.938 kB / 0.5907 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4965, allocations: 0.5312 kB / 0.5907 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4965, allocations: 1.656 kB / 0.5907 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.4967, allocations: 143 kB / 0.5909 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.4967, allocations: 34.25 kB / 0.5909 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.4968, allocations: 19.56 kB / 0.5909 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.497, allocations: 84.27 kB / 0.591 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.497, allocations: 40.8 kB / 0.5911 GB, free: 7.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.497, allocations: 0 / 0.5911 GB, free: 7.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.001155/0.4982, allocations: 394.2 kB / 0.5914 GB, free: 6.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4982, allocations: 81.09 kB / 0.5915 GB, free: 6.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.171e-05/0.4983, allocations: 85 kB / 0.5916 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4983, allocations: 25.7 kB / 0.5916 GB, free: 6.438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.4983, allocations: 80.98 kB / 0.5917 GB, free: 6.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.4984, allocations: 15.75 kB / 0.5917 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.4984, allocations: 0.6562 kB / 0.5917 GB, free: 6.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4985, allocations: 319.9 kB / 0.592 GB, free: 6.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.4986, allocations: 4 kB / 0.592 GB, free: 6.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.4986, allocations: 27.56 kB / 0.592 GB, free: 5.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.4986, allocations: 8.594 kB / 0.5921 GB, free: 5.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4987, allocations: 1 kB / 0.5921 GB, free: 5.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001031/0.4988, allocations: 54.25 kB / 0.5921 GB, free: 5.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4988, allocations: 4.719 kB / 0.5921 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4988, allocations: 0 / 0.5921 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4988, allocations: 4.562 kB / 0.5921 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.4989, allocations: 12.66 kB / 0.5921 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.4989, allocations: 12.17 kB / 0.5921 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.499, allocations: 0 / 0.5921 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.499, allocations: 4 kB / 0.5921 GB, free: 5.883 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.65e-05/0.4991, allocations: 104.9 kB / 0.5922 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4991, allocations: 4 kB / 0.5922 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.4993, allocations: 61.14 kB / 0.5923 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4993, allocations: 4 kB / 0.5923 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4993, allocations: 0 / 0.5923 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4993, allocations: 3.906 kB / 0.5923 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.4995, allocations: 138.2 kB / 0.5924 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4995, allocations: 0 / 0.5924 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.4995, allocations: 8 kB / 0.5924 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.4996, allocations: 32 / 0.5924 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4996, allocations: 7.938 kB / 0.5925 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4996, allocations: 0 / 0.5925 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4996, allocations: 4 kB / 0.5925 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001586/0.4998, allocations: 99.27 kB / 0.5926 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.4998, allocations: 85.05 kB / 0.5926 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4998, allocations: 0 / 0.5926 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.4999, allocations: 7.969 kB / 0.5926 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.4999, allocations: 8.031 kB / 0.5927 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.4999, allocations: 0 / 0.5927 GB, free: 5.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.648e-05/0.4999, allocations: 75.28 kB / 0.5927 GB, free: 5.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.5002, allocations: 35.94 kB / 0.5928 GB, free: 5.156 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.000227/0.5004, allocations: 135.2 kB / 0.5929 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.5005, allocations: 20.05 kB / 0.5929 GB, free: 4.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5005, allocations: 11.16 kB / 0.5929 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.5005, allocations: 8 kB / 0.5929 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.5006, allocations: 0 / 0.5929 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.5009, allocations: 74.69 kB / 0.593 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.5012, allocations: 0.6876 MB / 0.5937 GB, free: 4.172 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5012, allocations: 3.938 kB / 0.5937 GB, free: 4.168 MB / 410.7 MB Notification: Performance of Templates: time 0.003005/0.5042, allocations: 0.7697 MB / 0.5944 GB, free: 3.461 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)