Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007942, allocations: 99.59 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.0009965/0.0009967, allocations: 176.1 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.501/1.501, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.859/2.859, allocations: 436.7 MB / 0.7113 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004655, allocations: 16.22 kB / 0.8717 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8262, allocations: 153.7 MB / 1.022 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007878/0.827, allocations: 325.3 kB / 1.022 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.8288, allocations: 1.077 MB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.8288, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.8288, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.8291, allocations: 7.938 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.965e-06/0.8291, allocations: 4 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.8292, allocations: 4 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.8293, allocations: 3.984 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.554e-05/0.8293, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.8293, allocations: 11.92 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.475e-06/0.8294, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.8295, allocations: 15.98 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.8295, allocations: 3.938 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.8295, allocations: 25.7 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.088e-05/0.8296, allocations: 8 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.8296, allocations: 3.984 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8297, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8297, allocations: 0 / 1.023 GB, free: 15.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003282/0.83, allocations: 311.4 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8301, allocations: 15.92 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.8301, allocations: 3.906 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.8303, allocations: 167.1 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8303, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.8303, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.8305, allocations: 45.58 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8305, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.8305, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.8305, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.8306, allocations: 11.92 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.8308, allocations: 149.7 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.831, allocations: 34.61 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.8311, allocations: 8.859 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.8314, allocations: 93.17 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.8314, allocations: 34.52 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.8314, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004899/0.8363, allocations: 0.5657 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.8364, allocations: 55.34 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.8365, allocations: 89.86 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.8365, allocations: 29.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.8366, allocations: 80.14 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.8366, allocations: 27.64 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.8366, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.8369, allocations: 314.8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.8375, allocations: 79.95 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.8382, allocations: 102.5 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.8388, allocations: 83.95 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8388, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001394/0.8402, allocations: 217.6 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.8403, allocations: 11.95 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8403, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8403, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.8408, allocations: 52 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8408, allocations: 3.938 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.8412, allocations: 43.97 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.8412, allocations: 0 / 1.026 GB, free: 12.71 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 (5): * Single equations (assignments): 5 * 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.0001244/0.8414, allocations: 117.8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.8414, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.843, allocations: 241.2 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.843, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.843, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.843, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.845, allocations: 450.5 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.845, allocations: 3.953 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.8455, allocations: 47.97 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.8455, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.8455, allocations: 7.984 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.8455, allocations: 7.938 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8456, allocations: 7.984 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.8471, allocations: 303.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.8472, allocations: 81.06 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.8472, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.8477, allocations: 35.98 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.8477, allocations: 11.97 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.8477, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.8478, allocations: 75.28 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8478, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004012/0.8482, allocations: 12 kB / 1.027 GB, free: 11.21 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 (5): * Single equations (assignments): 5 * 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.0002352/0.8485, allocations: 103.2 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.8499, allocations: 179.9 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8499, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.8506, allocations: 92.08 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.851, allocations: 4 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.8523, allocations: 240.3 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.8526, allocations: 0.6809 MB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.8527, allocations: 15.44 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.8528, allocations: 0 / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of Templates: time 0.003505/0.8563, allocations: 1.093 MB / 1.029 GB, free: 8.75 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o] Error 1