Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009767, allocations: 103 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.001666/0.001666, allocations: 171.4 kB / 16.58 MB, free: 6.402 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.858/1.858, allocations: 205.4 MB / 222.8 MB, free: 5.863 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.923/1.923, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005309/0.0005311, allocations: 16.12 kB / 0.6744 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3148, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0009865/0.3158, allocations: 351.4 kB / 0.7883 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.3182, allocations: 1.418 MB / 0.7897 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.3182, allocations: 0 / 0.7897 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.228e-05/0.3183, allocations: 0 / 0.7897 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.3183, allocations: 11.94 kB / 0.7897 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.3189, allocations: 155.7 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.319, allocations: 27.92 kB / 0.7898 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.3191, allocations: 7.984 kB / 0.7898 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.3191, allocations: 11.98 kB / 0.7899 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.3192, allocations: 27.84 kB / 0.7899 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3192, allocations: 8 kB / 0.7899 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.3196, allocations: 211.7 kB / 0.7901 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.3196, allocations: 15.92 kB / 0.7901 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.3197, allocations: 33.64 kB / 0.7901 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3199, allocations: 143.8 kB / 0.7903 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3199, allocations: 0 / 0.7903 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3199, allocations: 0 / 0.7903 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3199, allocations: 0 / 0.7903 GB, free: 9.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004738/0.3204, allocations: 393.2 kB / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3204, allocations: 8.031 kB / 0.7907 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3205, allocations: 15.91 kB / 0.7907 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3207, allocations: 178.9 kB / 0.7908 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3207, allocations: 0 / 0.7908 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3208, allocations: 4 kB / 0.7909 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3209, allocations: 69.66 kB / 0.7909 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3209, allocations: 0 / 0.7909 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3209, allocations: 0 / 0.7909 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.321, allocations: 4 kB / 0.7909 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.321, allocations: 35.97 kB / 0.791 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.3212, allocations: 173.5 kB / 0.7911 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.3213, allocations: 70.48 kB / 0.7912 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.3214, allocations: 44.88 kB / 0.7912 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.3214, allocations: 0 / 0.7912 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3214, allocations: 38.55 kB / 0.7913 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.215e-06/0.3214, allocations: 0 / 0.7913 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003283/0.3218, allocations: 191.2 kB / 0.7915 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3218, allocations: 85.14 kB / 0.7915 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.3219, allocations: 118 kB / 0.7916 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.322, allocations: 25.7 kB / 0.7917 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.322, allocations: 84.14 kB / 0.7918 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.3221, allocations: 27.64 kB / 0.7918 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.3221, allocations: 4 kB / 0.7918 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3222, allocations: 314.8 kB / 0.7921 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.3223, allocations: 35.97 kB / 0.7921 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.3224, allocations: 35.97 kB / 0.7921 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.3225, allocations: 73.7 kB / 0.7922 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3225, allocations: 0 / 0.7922 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001941/0.3227, allocations: 151.4 kB / 0.7924 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.3227, allocations: 37.69 kB / 0.7924 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3227, allocations: 0 / 0.7924 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3228, allocations: 4 kB / 0.7924 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.3228, allocations: 0 / 0.7924 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3228, allocations: 0 / 0.7924 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3229, allocations: 4 kB / 0.7924 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3229, allocations: 11.92 kB / 0.7924 GB, free: 7.09 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001396/0.3231, allocations: 164.1 kB / 0.7926 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.3231, allocations: 7.906 kB / 0.7926 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.3231, allocations: 4.375 kB / 0.7926 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3231, allocations: 0 / 0.7926 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3231, allocations: 0 / 0.7926 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3231, allocations: 4 kB / 0.7926 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3233, allocations: 169.6 kB / 0.7928 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3233, allocations: 0 / 0.7928 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.3233, allocations: 0 / 0.7928 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3233, allocations: 4 kB / 0.7928 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3233, allocations: 4 kB / 0.7928 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3233, allocations: 0 / 0.7928 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3233, allocations: 0 / 0.7928 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.3235, allocations: 194.7 kB / 0.7929 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3236, allocations: 85.06 kB / 0.793 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3236, allocations: 4 kB / 0.793 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.3237, allocations: 11.92 kB / 0.793 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.3237, allocations: 11.97 kB / 0.7931 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3237, allocations: 8 kB / 0.7931 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.3238, allocations: 91.27 kB / 0.7931 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3238, allocations: 0 / 0.7931 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003174/0.3241, allocations: 71.98 kB / 0.7932 GB, free: 6.164 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003616/0.3245, allocations: 163.2 kB / 0.7934 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3248, allocations: 191.3 kB / 0.7936 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3248, allocations: 0 / 0.7936 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3249, allocations: 155.4 kB / 0.7937 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.3251, allocations: 7.938 kB / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.3255, allocations: 204.3 kB / 0.7939 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3258, allocations: 0.6848 MB / 0.7946 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.3259, allocations: 7.438 kB / 0.7946 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.3259, allocations: 0 / 0.7946 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.003672/0.3295, allocations: 1.713 MB / 0.7963 GB, free: 2.965 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolationCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolationCalcHelperMain.o] Error 1