Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009902, allocations: 99.44 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.00124/0.00124, allocations: 179.3 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.546/1.546, 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.948/2.948, allocations: 436.7 MB / 0.7113 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 15.98 kB / 0.8717 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8767, allocations: 153.7 MB / 1.022 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.0016/0.8784, allocations: 1.176 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.8792, allocations: 0.5311 MB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.8793, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.8793, allocations: 3.938 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.8794, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.8796, allocations: 35.89 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.8797, allocations: 27.86 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.016e-05/0.8798, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.8799, allocations: 11.98 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.8799, allocations: 15.92 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.8799, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.88, allocations: 47.95 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.8801, allocations: 8 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.8801, allocations: 33.64 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.783e-05/0.8802, allocations: 43.92 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8802, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8802, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.8802, allocations: 0 / 1.024 GB, free: 15.2 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.0003898/0.8806, allocations: 341.2 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.8807, allocations: 19.92 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.8807, allocations: 3.906 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.8808, allocations: 171.1 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.8808, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.8809, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.881, allocations: 49.64 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.881, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.881, allocations: 3.938 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.881, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.8811, allocations: 27.98 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.8815, allocations: 252.9 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/0.8815, allocations: 34.56 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.8816, allocations: 12.92 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.8823, allocations: 0.4975 MB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8824, allocations: 34.5 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8824, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000233/0.8826, allocations: 73.67 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.8826, allocations: 59.38 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.8827, allocations: 105.8 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.8827, allocations: 25.7 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.8828, allocations: 88.14 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.8828, allocations: 7.891 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.8828, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8829, allocations: 314.8 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.883, allocations: 16 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.883, allocations: 15.92 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.8831, allocations: 12 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8831, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.8832, allocations: 61.62 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8832, allocations: 12.09 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8832, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.8833, allocations: 3.984 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.8833, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.8833, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.8834, allocations: 7.938 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8834, allocations: 0 / 1.026 GB, free: 12.67 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 (2): * Single equations (assignments): 2 * 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 7.035e-05/0.8835, allocations: 121.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.8835, allocations: 11.86 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.8837, allocations: 65.14 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8837, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8837, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.8837, allocations: 4 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8839, allocations: 157.7 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8839, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.8839, allocations: 11.98 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.8839, allocations: 7.984 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8839, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8839, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8839, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.8841, allocations: 155.5 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.8841, allocations: 89.05 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8842, allocations: 3.953 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.8842, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.8843, allocations: 3.984 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.8843, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.8843, allocations: 87.59 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8843, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002297/0.8846, allocations: 16 kB / 1.026 GB, free: 11.84 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 (2): * Single equations (assignments): 2 * 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.0001625/0.8847, allocations: 115.2 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.8849, allocations: 27.92 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8849, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.8849, allocations: 23.92 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.8851, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.8854, allocations: 162.4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.8857, allocations: 0.6809 MB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.8857, allocations: 11.42 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8857, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002414/0.8881, allocations: 0.8017 MB / 1.028 GB, free: 9.961 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimitCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1