Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 98.72 kB / 16.02 MB, free: 76 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.001402/0.001402, allocations: 185 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.7 MB / 0.5509 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006839/0.000684, allocations: 15.5 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3252, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001963/0.3272, allocations: 1.171 MB / 0.7897 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3284, allocations: 0.6067 MB / 0.7903 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.3285, allocations: 0 / 0.7903 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.3285, allocations: 4 kB / 0.7903 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.3286, allocations: 7.938 kB / 0.7903 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.3289, allocations: 43.89 kB / 0.7903 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.329, allocations: 19.94 kB / 0.7903 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3291, allocations: 7.984 kB / 0.7904 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3292, allocations: 11.94 kB / 0.7904 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.3293, allocations: 15.92 kB / 0.7904 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3293, allocations: 0 / 0.7904 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3295, allocations: 55.94 kB / 0.7904 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.3295, allocations: 0 / 0.7904 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.3295, allocations: 37.64 kB / 0.7905 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.3297, allocations: 47.86 kB / 0.7905 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3297, allocations: 0 / 0.7905 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3297, allocations: 0 / 0.7905 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3297, allocations: 0 / 0.7905 GB, free: 9.566 MB / 0.6075 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.0005578/0.3303, allocations: 347.7 kB / 0.7908 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3303, allocations: 12.03 kB / 0.7909 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3304, allocations: 4.844 kB / 0.7909 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3305, allocations: 176.2 kB / 0.791 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3306, allocations: 384 / 0.791 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3306, allocations: 8.359 kB / 0.791 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3307, allocations: 46 kB / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3308, allocations: 0 / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3308, allocations: 0 / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3308, allocations: 0 / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3309, allocations: 27.98 kB / 0.7911 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3313, allocations: 256.9 kB / 0.7914 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.3314, allocations: 34.52 kB / 0.7914 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.3314, allocations: 20.91 kB / 0.7914 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008951/0.3323, allocations: 0.4897 MB / 0.7919 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3324, allocations: 30.56 kB / 0.7919 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3324, allocations: 0 / 0.7919 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002723/0.3327, allocations: 73.58 kB / 0.792 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3327, allocations: 63.28 kB / 0.792 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3328, allocations: 109.8 kB / 0.7921 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3328, allocations: 25.7 kB / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.3329, allocations: 84.14 kB / 0.7923 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3329, allocations: 11.89 kB / 0.7923 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.333, allocations: 9.719 kB / 0.7923 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3331, allocations: 319 kB / 0.7926 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.3332, allocations: 16 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.3332, allocations: 11.98 kB / 0.7926 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.3333, allocations: 36.73 kB / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3333, allocations: 0 / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.3335, allocations: 65.67 kB / 0.7927 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3335, allocations: 4 kB / 0.7927 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3335, allocations: 0 / 0.7927 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3335, allocations: 4 kB / 0.7927 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.3336, allocations: 4 kB / 0.7927 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3336, allocations: 0 / 0.7927 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.3336, allocations: 7.984 kB / 0.7927 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.3336, allocations: 4.031 kB / 0.7927 GB, free: 6.984 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/0.3337, allocations: 110.7 kB / 0.7928 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.3338, allocations: 7.906 kB / 0.7928 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.3339, allocations: 65.2 kB / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.334, allocations: 0 / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.334, allocations: 0 / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.334, allocations: 0 / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3342, allocations: 173.6 kB / 0.7931 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3342, allocations: 0 / 0.7931 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.3342, allocations: 4 kB / 0.7931 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3342, allocations: 0 / 0.7931 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3342, allocations: 12 kB / 0.7931 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3342, allocations: 0 / 0.7931 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3342, allocations: 0 / 0.7931 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3344, allocations: 155.5 kB / 0.7932 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.3345, allocations: 81.02 kB / 0.7933 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3345, allocations: 4 kB / 0.7933 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.3346, allocations: 3.984 kB / 0.7933 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3346, allocations: 8 kB / 0.7933 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3346, allocations: 0 / 0.7933 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.3347, allocations: 79.59 kB / 0.7934 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 8.031 kB / 0.7934 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000231/0.3349, allocations: 23.98 kB / 0.7934 GB, free: 6.16 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001876/0.3351, allocations: 115.1 kB / 0.7935 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.3352, allocations: 31.91 kB / 0.7936 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3353, allocations: 0 / 0.7936 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.3353, allocations: 16.06 kB / 0.7936 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3355, allocations: 7.938 kB / 0.7936 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3358, allocations: 162.3 kB / 0.7937 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3361, allocations: 0.6848 MB / 0.7944 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3362, allocations: 7.438 kB / 0.7944 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3362, allocations: 0 / 0.7944 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.002393/0.3386, allocations: 0.8033 MB / 0.7952 GB, free: 4.27 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1