Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009373/0.0009373, allocations: 94.88 kB / 16.33 MB, free: 5.953 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.001176/0.001176, allocations: 187.5 kB / 17.23 MB, free: 5.887 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.488/1.488, allocations: 223.2 MB / 241.2 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6965/0.6965, allocations: 114.4 MB / 406.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005007, allocations: 8 kB / 494.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2004, allocations: 77.26 MB / 0.5583 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001749/0.2022, allocations: 1.154 MB / 0.5594 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.2032, allocations: 0.5194 MB / 0.56 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.2032, allocations: 4 kB / 0.56 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.2032, allocations: 0 / 0.56 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.2033, allocations: 7.922 kB / 0.56 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.2035, allocations: 39.91 kB / 0.56 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.2036, allocations: 23.92 kB / 0.56 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.2037, allocations: 7.984 kB / 0.56 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.2038, allocations: 11.92 kB / 0.56 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.2038, allocations: 11.94 kB / 0.5601 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2039, allocations: 4 kB / 0.5601 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.204, allocations: 43.95 kB / 0.5601 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.204, allocations: 7.984 kB / 0.5601 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2041, allocations: 25.7 kB / 0.5601 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.2042, allocations: 51.88 kB / 0.5602 GB, free: 8.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2042, allocations: 0 / 0.5602 GB, free: 8.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2042, allocations: 0 / 0.5602 GB, free: 8.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.2042, allocations: 0 / 0.5602 GB, free: 8.965 MB / 430.1 MB 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.0004114/0.2046, allocations: 343.5 kB / 0.5605 GB, free: 8.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2047, allocations: 12.02 kB / 0.5605 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2047, allocations: 4 kB / 0.5605 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2049, allocations: 178.9 kB / 0.5607 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2049, allocations: 7.938 kB / 0.5607 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2049, allocations: 0 / 0.5607 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.205, allocations: 41.69 kB / 0.5607 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.205, allocations: 7.953 kB / 0.5608 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.205, allocations: 0 / 0.5608 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2051, allocations: 7.984 kB / 0.5608 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.2051, allocations: 23.98 kB / 0.5608 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.2055, allocations: 256.9 kB / 0.561 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.2056, allocations: 38.5 kB / 0.5611 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.2057, allocations: 20.88 kB / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/0.2065, allocations: 0.4936 MB / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.2065, allocations: 34.56 kB / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2066, allocations: 0 / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.2068, allocations: 65.67 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.2069, allocations: 63.47 kB / 0.5617 GB, free: 7.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.207, allocations: 105.8 kB / 0.5618 GB, free: 7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.207, allocations: 25.7 kB / 0.5618 GB, free: 6.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.2071, allocations: 84.14 kB / 0.5619 GB, free: 6.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2071, allocations: 7.906 kB / 0.5619 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.2071, allocations: 0 / 0.5619 GB, free: 6.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2072, allocations: 314.8 kB / 0.5622 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.2073, allocations: 12 kB / 0.5622 GB, free: 6.547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.2073, allocations: 19.92 kB / 0.5623 GB, free: 6.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.2074, allocations: 12 kB / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2074, allocations: 0 / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.2075, allocations: 65.53 kB / 0.5623 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2075, allocations: 4 kB / 0.5623 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2075, allocations: 4.094 kB / 0.5623 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2076, allocations: 4 kB / 0.5624 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.2076, allocations: 7.938 kB / 0.5624 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2077, allocations: 320 / 0.5624 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.2077, allocations: 4 kB / 0.5624 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2077, allocations: 3.984 kB / 0.5624 GB, free: 6.418 MB / 430.1 MB 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 9.07e-05/0.2078, allocations: 109.8 kB / 0.5625 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.2078, allocations: 7.953 kB / 0.5625 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.208, allocations: 65.2 kB / 0.5625 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.208, allocations: 0 / 0.5625 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.208, allocations: 0 / 0.5625 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.208, allocations: 0 / 0.5625 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2082, allocations: 161.7 kB / 0.5627 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2082, allocations: 0 / 0.5627 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.2083, allocations: 7.984 kB / 0.5627 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2083, allocations: 3.938 kB / 0.5627 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2083, allocations: 11.98 kB / 0.5627 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2083, allocations: 3.938 kB / 0.5627 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.2083, allocations: 3.984 kB / 0.5627 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.2085, allocations: 155.4 kB / 0.5629 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.2086, allocations: 77.11 kB / 0.563 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2086, allocations: 8.031 kB / 0.563 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.2086, allocations: 3.953 kB / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2087, allocations: 7.984 kB / 0.563 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2087, allocations: 0 / 0.563 GB, free: 5.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.2087, allocations: 83.28 kB / 0.563 GB, free: 5.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2088, allocations: 0 / 0.563 GB, free: 5.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000331/0.2091, allocations: 16 kB / 0.5631 GB, free: 5.605 MB / 430.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 (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.0002255/0.2093, allocations: 115.8 kB / 0.5632 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.2095, allocations: 35.92 kB / 0.5632 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2095, allocations: 0 / 0.5632 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.2096, allocations: 15.98 kB / 0.5632 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2098, allocations: 4 kB / 0.5632 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.2101, allocations: 162.4 kB / 0.5634 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.2104, allocations: 0.6809 MB / 0.564 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.2105, allocations: 15.42 kB / 0.5641 GB, free: 4.516 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2105, allocations: 0 / 0.5641 GB, free: 4.516 MB / 430.1 MB Notification: Performance of Templates: time 0.002529/0.213, allocations: 0.8035 MB / 0.5648 GB, free: 3.715 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1