Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_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.001/0.001, allocations: 97.02 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.00129/0.00129, allocations: 180.8 kB / 16.58 MB, free: 6.422 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.439/1.439, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 12.22 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.883/0.8834, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00211/0.8855, allocations: 1.462 MB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.8865, allocations: 0.6091 MB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.8866, allocations: 7.938 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.8866, allocations: 3.938 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.8867, allocations: 19.84 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.8872, allocations: 142.9 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.8873, allocations: 103.6 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.8875, allocations: 45.27 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.8876, allocations: 43.84 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.8877, allocations: 39.83 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.8877, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.8878, allocations: 35.97 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.8878, allocations: 27.91 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.8879, allocations: 37.64 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.888, allocations: 93.8 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.888, allocations: 3.938 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.013e-06/0.888, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.888, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 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.0005374/0.8886, allocations: 421 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.8886, allocations: 11.98 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.8894, allocations: 143.6 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.8896, allocations: 182.8 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.8897, allocations: 75.34 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.8897, allocations: 4 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.8903, allocations: 191.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.8903, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.8903, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.8903, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.8909, allocations: 199.8 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.892, allocations: 0.4901 MB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/0.8929, allocations: 274.3 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.8932, allocations: 100.9 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.8933, allocations: 7.984 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8933, allocations: 34.55 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.8933, allocations: 3.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0009996/0.8943, allocations: 309.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.8944, allocations: 59.41 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.8945, allocations: 135.5 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.8945, allocations: 33.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.8946, allocations: 108.1 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.8947, allocations: 15.81 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.8947, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8949, allocations: 322.8 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.8951, allocations: 95.92 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.8955, allocations: 110.5 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.8958, allocations: 91.94 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.8958, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006761/0.8964, allocations: 245.3 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.8965, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.8965, allocations: 3.938 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.8965, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.8968, allocations: 51.94 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.8968, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.897, allocations: 35.91 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.8971, allocations: 7.984 kB / 1.028 GB, free: 10.47 MB / 0.7794 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.0001261/0.8972, allocations: 117.8 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.8972, allocations: 15.84 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.898, allocations: 242.2 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.898, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.898, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.898, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.8983, allocations: 238 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8984, allocations: 3.953 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.8986, allocations: 43.94 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8986, allocations: 4.375 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.8986, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.8986, allocations: 4 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8986, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.8994, allocations: 319.2 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.8995, allocations: 92.88 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.8995, allocations: 4 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.8998, allocations: 43.95 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.8999, allocations: 7.984 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.8999, allocations: 7.984 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001011/0.9, allocations: 100.6 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.314e-06/0.9, allocations: 0 / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002775/0.9003, allocations: 35.81 kB / 1.029 GB, free: 9.102 MB / 0.7794 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.0002077/0.9005, allocations: 95.25 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007112/0.9012, allocations: 203.8 kB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9013, allocations: 0 / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.9016, allocations: 104 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.9019, allocations: 4 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.9026, allocations: 335 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.903, allocations: 0.7004 MB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.903, allocations: 19.42 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.903, allocations: 0 / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.003313/0.9064, allocations: 1.58 MB / 1.032 GB, free: 6.012 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1