Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008646, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 174.8 kB / 16.58 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.4 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005284, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8812, allocations: 142.3 MB / 0.9544 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002342/0.8836, allocations: 1.151 MB / 0.9555 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.8842, allocations: 177 kB / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.8843, allocations: 1.188 kB / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.8843, allocations: 4 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.8844, allocations: 8.922 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.8848, allocations: 24.88 kB / 0.9557 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.8849, allocations: 19.05 kB / 0.9558 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.885, allocations: 3.125 kB / 0.9558 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.885, allocations: 7.531 kB / 0.9558 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.8851, allocations: 14.31 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.8851, allocations: 1.062 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.8853, allocations: 31.53 kB / 0.9558 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.8853, allocations: 5.25 kB / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.8853, allocations: 30.92 kB / 0.9559 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.8855, allocations: 27.05 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.8855, allocations: 1.219 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.559e-06/0.8855, allocations: 0 / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.8855, allocations: 0 / 0.9559 GB, free: 6.93 MB / 0.7169 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.0006035/0.8861, allocations: 344.2 kB / 0.9562 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.8862, allocations: 12.41 kB / 0.9562 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.8863, allocations: 9.141 kB / 0.9562 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8864, allocations: 168.6 kB / 0.9564 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.8864, allocations: 1.406 kB / 0.9564 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.8865, allocations: 1.438 kB / 0.9564 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.8867, allocations: 53.45 kB / 0.9564 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8867, allocations: 3.938 kB / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.8867, allocations: 5.094 kB / 0.9565 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.8867, allocations: 0 / 0.9565 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.8869, allocations: 49.11 kB / 0.9565 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.8873, allocations: 257.5 kB / 0.9567 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.8875, allocations: 44.28 kB / 0.9568 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.8876, allocations: 28.14 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.8877, allocations: 82.66 kB / 0.9569 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.8877, allocations: 35.94 kB / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8877, allocations: 0 / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.8881, allocations: 107.2 kB / 0.957 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.8882, allocations: 52.5 kB / 0.9571 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.8883, allocations: 99.64 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8883, allocations: 25.7 kB / 0.9572 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.8884, allocations: 89.53 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.8884, allocations: 5.312 kB / 0.9573 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.8884, allocations: 0 / 0.9573 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.8885, allocations: 312.2 kB / 0.9576 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.8886, allocations: 30.11 kB / 0.9576 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.8887, allocations: 22.69 kB / 0.9576 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.435e-05/0.8888, allocations: 25.95 kB / 0.9577 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8888, allocations: 0 / 0.9577 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.889, allocations: 75.02 kB / 0.9577 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.889, allocations: 9.953 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.889, allocations: 0 / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.889, allocations: 5.25 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.8892, allocations: 13.17 kB / 0.9578 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8892, allocations: 0 / 0.9578 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.8892, allocations: 13.98 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.8892, allocations: 1.375 kB / 0.9578 GB, free: 5.027 MB / 0.7169 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 () * Number of clocked 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.143e-05/0.8893, allocations: 115.1 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.8894, allocations: 1.156 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.8896, allocations: 97.39 kB / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8896, allocations: 0 / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8896, allocations: 3.953 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8896, allocations: 1.094 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8898, allocations: 153.6 kB / 0.9581 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8898, allocations: 5.438 kB / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.8898, allocations: 12.45 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.8899, allocations: 0 / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.8899, allocations: 1.469 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8899, allocations: 0 / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8899, allocations: 3.938 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.8901, allocations: 176.7 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.8901, allocations: 78.92 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.8901, allocations: 0 / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.8902, allocations: 10.52 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.8903, allocations: 9.156 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.8903, allocations: 0.9688 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.8903, allocations: 87.27 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8903, allocations: 0 / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002428/0.8906, allocations: 17.02 kB / 0.9585 GB, free: 4.273 MB / 0.7169 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 () * Number of clocked 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.0001814/0.8908, allocations: 101.8 kB / 0.9586 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.891, allocations: 51.05 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.891, allocations: 1.094 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.8911, allocations: 24.27 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.8914, allocations: 1.312 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.8917, allocations: 146.5 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.8918, allocations: 0.6779 MB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.8919, allocations: 8.625 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8919, allocations: 0 / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.002144/0.894, allocations: 0.6588 MB / 0.9601 GB, free: 2.965 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o] Error 1