Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001109/0.001109, allocations: 99.67 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.001482/0.001482, allocations: 174.4 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.088/1.088, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 19.92 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2037, allocations: 83.41 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00169/0.2055, allocations: 1.175 MB / 0.5992 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.2064, allocations: 0.5117 MB / 0.5997 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.2064, allocations: 3.938 kB / 0.5997 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.2064, allocations: 7.875 kB / 0.5997 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.2065, allocations: 0 / 0.5997 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2068, allocations: 43.89 kB / 0.5998 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.2068, allocations: 27.86 kB / 0.5998 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.2069, allocations: 8 kB / 0.5998 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.207, allocations: 8 kB / 0.5998 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.2071, allocations: 11.92 kB / 0.5998 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2071, allocations: 0 / 0.5998 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2072, allocations: 51.94 kB / 0.5999 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.2072, allocations: 3.938 kB / 0.5999 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.2073, allocations: 33.7 kB / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2074, allocations: 43.92 kB / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2074, allocations: 0 / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2074, allocations: 0 / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2074, allocations: 4 kB / 0.5999 GB, free: 5.859 MB / 0.4981 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.0004738/0.2079, allocations: 349.8 kB / 0.6003 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2079, allocations: 8.031 kB / 0.6003 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.208, allocations: 3.906 kB / 0.6003 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2081, allocations: 171 kB / 0.6005 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2082, allocations: 0 / 0.6005 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2082, allocations: 0 / 0.6005 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2083, allocations: 53.62 kB / 0.6005 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2083, allocations: 0 / 0.6005 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2084, allocations: 0 / 0.6005 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2084, allocations: 0 / 0.6005 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.2085, allocations: 23.98 kB / 0.6005 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.2088, allocations: 264.8 kB / 0.6008 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.2089, allocations: 34.56 kB / 0.6008 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.209, allocations: 16.86 kB / 0.6008 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007951/0.2098, allocations: 0.4936 MB / 0.6013 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.2099, allocations: 34.56 kB / 0.6013 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2099, allocations: 0 / 0.6013 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.2101, allocations: 65.67 kB / 0.6014 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2102, allocations: 55.41 kB / 0.6015 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2103, allocations: 113.7 kB / 0.6016 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2103, allocations: 29.7 kB / 0.6016 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.2104, allocations: 88.27 kB / 0.6017 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.2104, allocations: 3.906 kB / 0.6017 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2104, allocations: 0 / 0.6017 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2105, allocations: 322.8 kB / 0.602 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.2106, allocations: 11.94 kB / 0.602 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.2106, allocations: 11.98 kB / 0.602 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.2107, allocations: 20 kB / 0.602 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2107, allocations: 0 / 0.602 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.2108, allocations: 57.69 kB / 0.6021 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2108, allocations: 7.984 kB / 0.6021 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2108, allocations: 0 / 0.6021 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2109, allocations: 0 / 0.6021 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.2109, allocations: 4 kB / 0.6021 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.211, allocations: 8.031 kB / 0.6021 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.211, allocations: 0 / 0.6021 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.211, allocations: 3.953 kB / 0.6021 GB, free: 3.332 MB / 0.4981 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 9.028e-05/0.2111, allocations: 117.8 kB / 0.6022 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2111, allocations: 0 / 0.6022 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.2113, allocations: 65.14 kB / 0.6023 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2113, allocations: 8.031 kB / 0.6023 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2113, allocations: 7.984 kB / 0.6023 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2113, allocations: 0 / 0.6023 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.2115, allocations: 165.5 kB / 0.6025 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2115, allocations: 0 / 0.6025 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.2116, allocations: 11.98 kB / 0.6025 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2116, allocations: 0 / 0.6025 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2116, allocations: 3.938 kB / 0.6025 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2116, allocations: 0 / 0.6025 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2116, allocations: 0 / 0.6025 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2118, allocations: 163.4 kB / 0.6026 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.2118, allocations: 81.11 kB / 0.6027 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2118, allocations: 0 / 0.6027 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.2119, allocations: 4 kB / 0.6027 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.2119, allocations: 3.984 kB / 0.6027 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.212, allocations: 4.031 kB / 0.6027 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.212, allocations: 91.27 kB / 0.6028 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.212, allocations: 0 / 0.6028 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002331/0.2122, allocations: 16 kB / 0.6028 GB, free: 2.5 MB / 0.4981 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.0001837/0.2124, allocations: 107.2 kB / 0.6029 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.2126, allocations: 27.98 kB / 0.6029 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2126, allocations: 4.062 kB / 0.603 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.2126, allocations: 19.92 kB / 0.603 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.2129, allocations: 3.953 kB / 0.603 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2132, allocations: 158.2 kB / 0.6031 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.2135, allocations: 0.6849 MB / 0.6038 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.2135, allocations: 11.42 kB / 0.6038 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2135, allocations: 3.938 kB / 0.6038 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of Templates: time 0.002291/0.2158, allocations: 0.8339 MB / 0.6046 GB, free: 0.5898 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1