Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.0008443, allocations: 102.6 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.0009727/0.000973, allocations: 172.3 kB / 16.58 MB, free: 6.395 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.526/1.526, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.917/2.917, allocations: 436.7 MB / 0.7113 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 12 kB / 0.8717 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9164, allocations: 153.6 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001772/0.9182, allocations: 1.176 MB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.9186, allocations: 132.5 kB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.9186, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.9187, allocations: 3.938 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.9187, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.9189, allocations: 23.92 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.919, allocations: 35.91 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.9192, allocations: 20 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.9192, allocations: 15.91 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.9193, allocations: 19.86 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.9193, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.9194, allocations: 35.97 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.9194, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.9194, allocations: 33.64 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.886e-05/0.9195, allocations: 47.92 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.9196, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9196, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.9196, allocations: 0 / 1.023 GB, free: 15.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004523/0.92, allocations: 359.1 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9201, allocations: 15.98 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.9211, allocations: 243.5 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.9212, allocations: 167.1 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.9213, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.9213, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.9218, allocations: 213.4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.9219, allocations: 3.938 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.9219, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.9219, allocations: 7.984 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.9227, allocations: 319.6 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.9235, allocations: 461.1 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.9246, allocations: 342.1 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.9249, allocations: 124.8 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.9249, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.925, allocations: 30.56 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.925, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001093/0.9261, allocations: 369.2 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.9261, allocations: 55.34 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.9262, allocations: 125.9 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.9262, allocations: 25.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.9263, allocations: 92.12 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.9264, allocations: 7.906 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.9264, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002415/0.9266, allocations: 326.8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.927, allocations: 115.9 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.9273, allocations: 111.9 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.9276, allocations: 99.89 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9276, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006705/0.9283, allocations: 257.4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.9283, allocations: 8 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9283, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.9284, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.9286, allocations: 51.88 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.9286, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.9288, allocations: 35.95 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.9288, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 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 (3): * Single equations (assignments): 3 * 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.0002081/0.929, allocations: 125.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.9291, allocations: 7.906 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.9291, allocations: 3.906 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9291, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9291, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9291, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.9294, allocations: 213.5 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9294, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.9296, allocations: 47.94 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.9296, allocations: 4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.9296, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.9296, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9296, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.9304, allocations: 351.9 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.9304, allocations: 89 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.9304, allocations: 3.938 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.9307, allocations: 39.95 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.9307, allocations: 7.969 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.9307, allocations: 3.984 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.189e-05/0.9308, allocations: 95.28 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9308, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002283/0.931, allocations: 12 kB / 1.028 GB, free: 10.38 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 (3): * Single equations (assignments): 3 * 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.0001337/0.9312, allocations: 103.2 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006801/0.9319, allocations: 227.8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9319, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.9322, allocations: 127.8 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.9325, allocations: 6.062 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.9333, allocations: 318.2 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.9337, allocations: 0.6887 MB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.9338, allocations: 11.44 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.9338, allocations: 0 / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of Templates: time 0.002739/0.9366, allocations: 1.154 MB / 1.031 GB, free: 7.703 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMinCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.o] Error 1