Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008162/0.0008164, allocations: 102.7 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.000952/0.0009523, allocations: 175.8 kB / 16.58 MB, free: 6.863 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.457/1.457, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.118/1.118, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 12 kB / 0.5166 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2317, allocations: 83.41 MB / 0.5981 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000735/0.2325, allocations: 311 kB / 0.5984 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2342, allocations: 1.202 MB / 0.5995 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.2342, allocations: 0 / 0.5995 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.2342, allocations: 0 / 0.5995 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-06/0.2342, allocations: 0 / 0.5995 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.2346, allocations: 51.89 kB / 0.5996 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.026e-05/0.2346, allocations: 0 / 0.5996 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.2347, allocations: 0 / 0.5996 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.2347, allocations: 0 / 0.5996 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.2347, allocations: 7.984 kB / 0.5996 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.2348, allocations: 3.938 kB / 0.5996 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.235, allocations: 91.89 kB / 0.5997 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-06/0.235, allocations: 0 / 0.5997 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.235, allocations: 25.7 kB / 0.5997 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2351, allocations: 39.95 kB / 0.5998 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2352, allocations: 4 kB / 0.5998 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2352, allocations: 0 / 0.5998 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.2352, allocations: 0 / 0.5998 GB, free: 6.008 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002946/0.2355, allocations: 323.4 kB / 0.6001 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2355, allocations: 12.03 kB / 0.6001 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.2356, allocations: 0 / 0.6001 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2357, allocations: 163 kB / 0.6002 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2357, allocations: 0 / 0.6002 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2357, allocations: 0 / 0.6002 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2358, allocations: 45.62 kB / 0.6003 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2358, allocations: 0 / 0.6003 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.2358, allocations: 0 / 0.6003 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.2358, allocations: 3.984 kB / 0.6003 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.2359, allocations: 0 / 0.6003 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.236, allocations: 153.6 kB / 0.6004 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.2361, allocations: 14.58 kB / 0.6004 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.2361, allocations: 8.859 kB / 0.6005 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/0.2367, allocations: 0.5662 MB / 0.601 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2368, allocations: 34.5 kB / 0.601 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2368, allocations: 7.938 kB / 0.601 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.237, allocations: 33.7 kB / 0.6011 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.237, allocations: 59.52 kB / 0.6011 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.969e-05/0.237, allocations: 89.86 kB / 0.6012 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2371, allocations: 25.7 kB / 0.6012 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.2371, allocations: 80.14 kB / 0.6013 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2371, allocations: 3.906 kB / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.2371, allocations: 0 / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2373, allocations: 314.8 kB / 0.6016 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.2373, allocations: 0 / 0.6016 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.2373, allocations: 0 / 0.6016 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.2373, allocations: 12.02 kB / 0.6016 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2373, allocations: 0 / 0.6016 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.228e-05/0.2374, allocations: 37.64 kB / 0.6017 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2374, allocations: 7.984 kB / 0.6017 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2374, allocations: 0 / 0.6017 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2374, allocations: 0 / 0.6017 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.2375, allocations: 4 kB / 0.6017 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2375, allocations: 7.922 kB / 0.6017 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.2375, allocations: 0 / 0.6017 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2375, allocations: 4.031 kB / 0.6017 GB, free: 3.68 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 (1): * Single equations (assignments): 1 * 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 8.195e-05/0.2376, allocations: 113.8 kB / 0.6018 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-06/0.2376, allocations: 0 / 0.6018 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.367e-05/0.2377, allocations: 44.75 kB / 0.6019 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2377, allocations: 0 / 0.6019 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2378, allocations: 0 / 0.6019 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2378, allocations: 4 kB / 0.6019 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2379, allocations: 145.7 kB / 0.602 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2379, allocations: 3.953 kB / 0.602 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.2379, allocations: 3.984 kB / 0.602 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2379, allocations: 0 / 0.602 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.2379, allocations: 4 kB / 0.602 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2379, allocations: 0 / 0.602 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2379, allocations: 0 / 0.602 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.238, allocations: 53.14 kB / 0.6021 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.2381, allocations: 89.38 kB / 0.6021 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2381, allocations: 3.984 kB / 0.6021 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.2381, allocations: 0 / 0.6021 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.2381, allocations: 3.938 kB / 0.6021 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.2381, allocations: 0 / 0.6021 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.2382, allocations: 75.28 kB / 0.6022 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2382, allocations: 0 / 0.6022 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002008/0.2384, allocations: 15.94 kB / 0.6022 GB, free: 3.031 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 (1): * Single equations (assignments): 1 * 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.0001998/0.2386, allocations: 107.2 kB / 0.6023 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.2387, allocations: 3.984 kB / 0.6023 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.2387, allocations: 4 kB / 0.6023 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/0.2387, allocations: 0 / 0.6023 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.2388, allocations: 3.938 kB / 0.6023 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.239, allocations: 108.4 kB / 0.6025 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2393, allocations: 0.6692 MB / 0.6031 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.2393, allocations: 15.36 kB / 0.6031 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2393, allocations: 4.125 kB / 0.6031 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.001835/0.2412, allocations: 431.7 kB / 0.6035 GB, free: 1.629 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunctionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1