Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009824, allocations: 100.5 kB / 15.71 MB, free: 452 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.001037/0.001037, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.494/1.494, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.569/2.569, allocations: 390.4 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003937, allocations: 8.219 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9706/0.971, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008228/0.9719, allocations: 316 kB / 0.9547 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.9736, allocations: 1.074 MB / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.9736, allocations: 1.312 kB / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.9736, allocations: 0 / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.9739, allocations: 21.69 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.974, allocations: 1.312 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.974, allocations: 0.9688 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.9741, allocations: 5.281 kB / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.9741, allocations: 9.281 kB / 0.9558 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.9741, allocations: 3.938 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.9742, allocations: 1.438 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.9743, allocations: 15.11 kB / 0.9558 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-06/0.9743, allocations: 1.438 kB / 0.9558 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.9743, allocations: 25.7 kB / 0.9559 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.063e-05/0.9744, allocations: 8.266 kB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9744, allocations: 4 kB / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9744, allocations: 0 / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.9744, allocations: 3.938 kB / 0.9559 GB, free: 6.902 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.0002241/0.9747, allocations: 321.5 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9747, allocations: 8.312 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.9748, allocations: 4.859 kB / 0.9562 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.933e-05/0.9748, allocations: 159.1 kB / 0.9563 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.9748, allocations: 1.562 kB / 0.9564 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.9749, allocations: 9.297 kB / 0.9564 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.975, allocations: 37.23 kB / 0.9564 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.975, allocations: 5.156 kB / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.975, allocations: 0 / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.9751, allocations: 0 / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.9751, allocations: 16.56 kB / 0.9564 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.9753, allocations: 148.8 kB / 0.9566 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.9754, allocations: 33.67 kB / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.9755, allocations: 15.89 kB / 0.9566 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.9756, allocations: 84.34 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.9757, allocations: 31.66 kB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9757, allocations: 0 / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.003777/0.9794, allocations: 0.5691 MB / 0.9573 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.9795, allocations: 52.75 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.953e-05/0.9796, allocations: 97.75 kB / 0.9574 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.9796, allocations: 27.11 kB / 0.9574 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.9796, allocations: 84.14 kB / 0.9575 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.9797, allocations: 17.22 kB / 0.9575 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.9797, allocations: 1.438 kB / 0.9575 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.9798, allocations: 314.8 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.9803, allocations: 90.61 kB / 0.9579 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.9809, allocations: 95.81 kB / 0.958 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.9814, allocations: 90.73 kB / 0.9581 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9814, allocations: 0 / 0.9581 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00107/0.9825, allocations: 218.6 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.9825, allocations: 6.312 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.9825, allocations: 0 / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.9826, allocations: 1.469 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.9829, allocations: 50.31 kB / 0.9584 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.983, allocations: 5.797 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.9833, allocations: 38.8 kB / 0.9584 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.9833, allocations: 9.75 kB / 0.9584 GB, free: 4.902 MB / 0.7169 GB 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 () * Number of clocked 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 9.363e-05/0.9834, allocations: 111.6 kB / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.9834, allocations: 5.781 kB / 0.9585 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.9847, allocations: 233.4 kB / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.9847, allocations: 1.375 kB / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.9847, allocations: 0 / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.9847, allocations: 0 / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.9862, allocations: 457.8 kB / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.9862, allocations: 1.562 kB / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.9866, allocations: 48.66 kB / 0.9592 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.9866, allocations: 0 / 0.9592 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.9866, allocations: 5.109 kB / 0.9592 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9866, allocations: 5.281 kB / 0.9592 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9866, allocations: 3.953 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.9877, allocations: 305.6 kB / 0.9595 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.9878, allocations: 86.59 kB / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.9879, allocations: 0 / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.9882, allocations: 39.14 kB / 0.9597 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.9882, allocations: 1 kB / 0.9597 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.9883, allocations: 10.16 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.9883, allocations: 79.28 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9883, allocations: 0 / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003131/0.9886, allocations: 9.812 kB / 0.9598 GB, free: 3.906 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 (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 Backend phase and start with SimCode phase: time 0.0002604/0.9889, allocations: 104.9 kB / 0.9599 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.99, allocations: 181.1 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.99, allocations: 3.938 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.9905, allocations: 87.45 kB / 0.9601 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.9908, allocations: 6.75 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.9918, allocations: 238.3 kB / 0.9604 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.992, allocations: 0.677 MB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.9921, allocations: 11.47 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 1.784e-06/0.9921, allocations: 0 / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.003789/0.9959, allocations: 1.101 MB / 0.9621 GB, free: 2.273 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o] Error 1