Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009431, allocations: 98.89 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.001481/0.001482, allocations: 180.9 kB / 16.58 MB, free: 6.422 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.821/1.821, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.789/1.789, allocations: 292.7 MB / 0.5505 GB, free: 14.59 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.0005473/0.0005475, allocations: 18.38 kB / 0.6744 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3216, allocations: 116.3 MB / 0.7879 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002013/0.3237, allocations: 1.455 MB / 0.7893 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3247, allocations: 0.6528 MB / 0.79 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.3248, allocations: 0 / 0.79 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.3249, allocations: 7.922 kB / 0.79 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.3249, allocations: 19.86 kB / 0.79 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3255, allocations: 155.4 kB / 0.7902 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3256, allocations: 99.69 kB / 0.7902 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3258, allocations: 37.28 kB / 0.7903 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3259, allocations: 47.84 kB / 0.7903 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.326, allocations: 39.77 kB / 0.7904 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3261, allocations: 4 kB / 0.7904 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3262, allocations: 35.97 kB / 0.7904 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.3262, allocations: 27.89 kB / 0.7904 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3263, allocations: 45.58 kB / 0.7905 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3264, allocations: 96.05 kB / 0.7906 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3264, allocations: 0 / 0.7906 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3265, allocations: 0 / 0.7906 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3265, allocations: 4 kB / 0.7906 GB, free: 9.25 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006243/0.3271, allocations: 415 kB / 0.791 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3271, allocations: 8.031 kB / 0.791 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/0.3279, allocations: 143.6 kB / 0.7911 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3281, allocations: 182.9 kB / 0.7913 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.3282, allocations: 59.41 kB / 0.7913 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3283, allocations: 16 kB / 0.7914 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.3288, allocations: 196.2 kB / 0.7915 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3288, allocations: 0 / 0.7915 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.3288, allocations: 4 kB / 0.7915 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3289, allocations: 4 kB / 0.7916 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.3294, allocations: 203.7 kB / 0.7917 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3306, allocations: 0.49 MB / 0.7922 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.3315, allocations: 274.3 kB / 0.7925 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.3318, allocations: 100.9 kB / 0.7926 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3318, allocations: 0 / 0.7926 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.3319, allocations: 38.5 kB / 0.7926 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.3319, allocations: 0 / 0.7926 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.000981/0.3329, allocations: 313.5 kB / 0.7929 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3329, allocations: 55.41 kB / 0.793 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3331, allocations: 140.5 kB / 0.7931 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3331, allocations: 25.7 kB / 0.7931 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.3332, allocations: 112.2 kB / 0.7932 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.3333, allocations: 19.64 kB / 0.7933 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.3333, allocations: 4 kB / 0.7933 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3335, allocations: 322.8 kB / 0.7936 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.3338, allocations: 87.92 kB / 0.7937 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.3341, allocations: 114.5 kB / 0.7938 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3344, allocations: 95.86 kB / 0.7939 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3344, allocations: 0 / 0.7939 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006247/0.335, allocations: 233.5 kB / 0.7941 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.335, allocations: 11.98 kB / 0.7941 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3351, allocations: 0 / 0.7941 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3351, allocations: 0 / 0.7941 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3353, allocations: 52.27 kB / 0.7941 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3354, allocations: 0 / 0.7941 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3355, allocations: 35.88 kB / 0.7942 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3356, allocations: 11.94 kB / 0.7942 GB, free: 5.312 MB / 0.6075 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 (8): * Single equations (assignments): 8 * 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 0.0001248/0.3357, allocations: 125.8 kB / 0.7943 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3357, allocations: 11.84 kB / 0.7943 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.3364, allocations: 230.2 kB / 0.7945 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3364, allocations: 7.938 kB / 0.7945 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3364, allocations: 0 / 0.7945 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3365, allocations: 4 kB / 0.7945 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.3368, allocations: 238.3 kB / 0.7948 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3368, allocations: 0 / 0.7948 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.337, allocations: 39.95 kB / 0.7948 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.337, allocations: 0 / 0.7948 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.337, allocations: 4 kB / 0.7948 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.337, allocations: 0 / 0.7948 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.337, allocations: 0 / 0.7948 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.3377, allocations: 331.2 kB / 0.7951 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.3378, allocations: 81.02 kB / 0.7952 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3378, allocations: 4 kB / 0.7952 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.3381, allocations: 43.94 kB / 0.7953 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3381, allocations: 8 kB / 0.7953 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3382, allocations: 7.984 kB / 0.7953 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.3382, allocations: 103.3 kB / 0.7954 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3383, allocations: 0 / 0.7954 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003282/0.3386, allocations: 27.86 kB / 0.7954 GB, free: 3.969 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 (6): * Single equations (assignments): 6 * 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.0001512/0.3387, allocations: 99.23 kB / 0.7955 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006233/0.3394, allocations: 199.8 kB / 0.7957 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3394, allocations: 0 / 0.7957 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.3397, allocations: 104 kB / 0.7958 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.34, allocations: 11.94 kB / 0.7958 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.3409, allocations: 323.4 kB / 0.7961 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3413, allocations: 0.7043 MB / 0.7968 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.3414, allocations: 19.42 kB / 0.7968 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.3414, allocations: 0 / 0.7968 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of Templates: time 0.003781/0.3451, allocations: 1.591 MB / 0.7984 GB, free: 0.8672 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocksCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1