Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01512/0.01512, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003024/0.003024, allocations: 192.1 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.789/2.789, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003875/0.003875, allocations: 294.7 kB / 290.9 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.941/1.941, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003524/0.003524, allocations: 92.23 kB / 0.5951 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3971, allocations: 87 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.006958/0.4041, allocations: 1.804 MB / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.4063, allocations: 0.6567 MB / 0.6825 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.4065, allocations: 4 kB / 0.6825 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.933e-05/0.4066, allocations: 8.547 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.4067, allocations: 12.44 kB / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.4076, allocations: 160.6 kB / 0.6827 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.4079, allocations: 123.6 kB / 0.6828 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.4082, allocations: 45.38 kB / 0.6828 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.4085, allocations: 55.83 kB / 0.6829 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.4086, allocations: 43.77 kB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.4087, allocations: 8 kB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.4089, allocations: 47.89 kB / 0.683 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.409, allocations: 27.91 kB / 0.683 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4091, allocations: 51.72 kB / 0.6831 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.4094, allocations: 95.78 kB / 0.6832 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4094, allocations: 0 / 0.6832 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4094, allocations: 4 kB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4095, allocations: 4 kB / 0.6832 GB, free: 14 MB / 494.1 MB 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.001055/0.4105, allocations: 431 kB / 0.6836 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.897e-05/0.4106, allocations: 12.03 kB / 0.6836 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.4119, allocations: 112.7 kB / 0.6837 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.4122, allocations: 188 kB / 0.6839 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.4124, allocations: 71.95 kB / 0.6839 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.4124, allocations: 4.375 kB / 0.6839 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.4133, allocations: 173.7 kB / 0.6841 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4133, allocations: 4 kB / 0.6841 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.4133, allocations: 4 kB / 0.6841 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4134, allocations: 4 kB / 0.6841 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/0.4143, allocations: 147.8 kB / 0.6843 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.4162, allocations: 493.6 kB / 0.6847 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.4178, allocations: 218.3 kB / 0.6849 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.4183, allocations: 84.91 kB / 0.685 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.4183, allocations: 3.984 kB / 0.685 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.4184, allocations: 34.55 kB / 0.6851 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 4.399e-06/0.4184, allocations: 0 / 0.6851 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001477/0.4199, allocations: 265.4 kB / 0.6853 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.42, allocations: 51.41 kB / 0.6854 GB, free: 11.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.4202, allocations: 139.2 kB / 0.6855 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.4202, allocations: 29.7 kB / 0.6855 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4204, allocations: 112.2 kB / 0.6856 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.4204, allocations: 15.75 kB / 0.6856 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4206, allocations: 25.7 kB / 0.6857 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.4208, allocations: 326.8 kB / 0.686 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.4212, allocations: 71.92 kB / 0.686 GB, free: 10.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.4216, allocations: 98.48 kB / 0.6861 GB, free: 10.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.4225, allocations: 162.4 kB / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4225, allocations: 3.938 kB / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009407/0.4234, allocations: 205.4 kB / 0.6865 GB, free: 10.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.4235, allocations: 4 kB / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4235, allocations: 160 / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4235, allocations: 7.938 kB / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.4239, allocations: 31.95 kB / 0.6865 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.4239, allocations: 3.984 kB / 0.6865 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.4242, allocations: 31.88 kB / 0.6866 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.4242, allocations: 3.984 kB / 0.6866 GB, free: 10.25 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.4245, allocations: 127 kB / 0.6867 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.4246, allocations: 8.219 kB / 0.6867 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4256, allocations: 218.1 kB / 0.6869 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4256, allocations: 0 / 0.6869 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4256, allocations: 0 / 0.6869 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4256, allocations: 0 / 0.6869 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.4261, allocations: 242.3 kB / 0.6871 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4261, allocations: 0 / 0.6871 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.4264, allocations: 31.95 kB / 0.6872 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4264, allocations: 0 / 0.6872 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.4265, allocations: 7.938 kB / 0.6872 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4265, allocations: 7.984 kB / 0.6872 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4265, allocations: 3.938 kB / 0.6872 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.4275, allocations: 275.3 kB / 0.6875 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4276, allocations: 89 kB / 0.6875 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.4276, allocations: 11.94 kB / 0.6876 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.428, allocations: 27.95 kB / 0.6876 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.4281, allocations: 0 / 0.6876 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4281, allocations: 7.984 kB / 0.6876 GB, free: 9.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.4283, allocations: 109.1 kB / 0.6877 GB, free: 9.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4283, allocations: 0 / 0.6877 GB, free: 9.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004843/0.4288, allocations: 35.84 kB / 0.6877 GB, free: 8.969 MB / 494.1 MB 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 (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.0002457/0.4291, allocations: 95.25 kB / 0.6878 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.43, allocations: 167.8 kB / 0.688 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.43, allocations: 4.125 kB / 0.688 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.4304, allocations: 79.86 kB / 0.6881 GB, free: 8.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.4311, allocations: 7.984 kB / 0.6881 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4322, allocations: 318.9 kB / 0.6884 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.4328, allocations: 0.7004 MB / 0.6891 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4329, allocations: 19.42 kB / 0.6891 GB, free: 7.523 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4329, allocations: 3.938 kB / 0.6891 GB, free: 7.52 MB / 494.1 MB Notification: Performance of Templates: time 0.005078/0.438, allocations: 1.594 MB / 0.6906 GB, free: 5.934 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1