Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 102.3 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.0009657/0.0009658, allocations: 178.5 kB / 16.58 MB, free: 6.133 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.494/1.494, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.122/1.122, allocations: 143.4 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 12 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 83.41 MB / 0.5981 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001682/0.2118, allocations: 1.143 MB / 0.5992 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.2126, allocations: 440.2 kB / 0.5996 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.2126, allocations: 4 kB / 0.5996 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2126, allocations: 4 kB / 0.5996 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.2127, allocations: 3.938 kB / 0.5996 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.2129, allocations: 15.92 kB / 0.5996 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.213, allocations: 27.91 kB / 0.5996 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.2131, allocations: 4 kB / 0.5997 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.2132, allocations: 7.938 kB / 0.5997 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.2132, allocations: 11.98 kB / 0.5997 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2132, allocations: 0 / 0.5997 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.2133, allocations: 23.92 kB / 0.5997 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.2133, allocations: 0 / 0.5997 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.2134, allocations: 29.7 kB / 0.5997 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.2134, allocations: 27.94 kB / 0.5998 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2135, allocations: 4 kB / 0.5998 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2135, allocations: 0 / 0.5998 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2135, allocations: 0 / 0.5998 GB, free: 6.059 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.0004763/0.214, allocations: 347.5 kB / 0.6001 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.214, allocations: 8.031 kB / 0.6001 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.214, allocations: 4 kB / 0.6001 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2142, allocations: 167 kB / 0.6003 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2142, allocations: 0 / 0.6003 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2142, allocations: 4 kB / 0.6003 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2144, allocations: 53.67 kB / 0.6003 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2144, allocations: 0 / 0.6003 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2144, allocations: 4 kB / 0.6003 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2144, allocations: 0 / 0.6003 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2146, allocations: 43.95 kB / 0.6004 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.2149, allocations: 256.9 kB / 0.6006 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2151, allocations: 42.55 kB / 0.6006 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.2152, allocations: 24.91 kB / 0.6007 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2153, allocations: 85.05 kB / 0.6007 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2153, allocations: 38.56 kB / 0.6008 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.2153, allocations: 0 / 0.6008 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003381/0.2157, allocations: 105.6 kB / 0.6009 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2157, allocations: 51.41 kB / 0.6009 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.2158, allocations: 109.8 kB / 0.601 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2158, allocations: 25.7 kB / 0.6011 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.2159, allocations: 84.14 kB / 0.6011 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.2159, allocations: 3.906 kB / 0.6011 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.2159, allocations: 4 kB / 0.6012 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.216, allocations: 314.8 kB / 0.6015 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.2161, allocations: 24.02 kB / 0.6015 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.2162, allocations: 19.98 kB / 0.6015 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.2163, allocations: 24.05 kB / 0.6015 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2163, allocations: 4 kB / 0.6015 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001763/0.2165, allocations: 77.59 kB / 0.6016 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2165, allocations: 5.406 kB / 0.6016 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2165, allocations: 7.922 kB / 0.6016 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.2165, allocations: 4.031 kB / 0.6016 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.2166, allocations: 12.23 kB / 0.6016 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2166, allocations: 4 kB / 0.6016 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.2167, allocations: 15.92 kB / 0.6016 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2167, allocations: 3.953 kB / 0.6016 GB, free: 3.887 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.448e-05/0.2168, allocations: 113.8 kB / 0.6018 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.2168, allocations: 4 kB / 0.6018 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2171, allocations: 80.78 kB / 0.6018 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2171, allocations: 0 / 0.6018 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2171, allocations: 0 / 0.6018 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2171, allocations: 0 / 0.6018 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2173, allocations: 173.5 kB / 0.602 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2173, allocations: 0 / 0.602 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.2173, allocations: 15.92 kB / 0.602 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2173, allocations: 0 / 0.602 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2174, allocations: 0 / 0.602 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2174, allocations: 0 / 0.602 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2174, allocations: 3.938 kB / 0.602 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.2176, allocations: 183.5 kB / 0.6022 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.2176, allocations: 77.11 kB / 0.6023 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2177, allocations: 0 / 0.6023 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.2177, allocations: 11.98 kB / 0.6023 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.2178, allocations: 4.031 kB / 0.6023 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2178, allocations: 0 / 0.6023 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.2178, allocations: 79.28 kB / 0.6024 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2178, allocations: 0 / 0.6024 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002193/0.2181, allocations: 12 kB / 0.6024 GB, free: 3.047 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.0001609/0.2182, allocations: 103.2 kB / 0.6025 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.2184, allocations: 51.91 kB / 0.6025 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2184, allocations: 0 / 0.6025 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.2185, allocations: 23.97 kB / 0.6025 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2188, allocations: 16.08 kB / 0.6026 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2191, allocations: 134.4 kB / 0.6027 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2194, allocations: 0.677 MB / 0.6033 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.2194, allocations: 11.44 kB / 0.6034 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2194, allocations: 0 / 0.6034 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of Templates: time 0.001933/0.2213, allocations: 0.6579 MB / 0.604 GB, free: 1.312 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeavisideCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1