Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001167/0.001167, allocations: 91.62 kB / 16.33 MB, free: 6.336 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.001371/0.00137, allocations: 187.6 kB / 17.23 MB, free: 6.242 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.6/1.6, allocations: 223.3 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7492/0.7492, allocations: 114.4 MB / 406.7 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 13.25 kB / 494.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.192, allocations: 77.26 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006906/0.1928, allocations: 299.1 kB / 0.5586 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1944, allocations: 1.204 MB / 0.5598 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.1944, allocations: 0 / 0.5598 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.1944, allocations: 0 / 0.5598 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.994e-06/0.1945, allocations: 0 / 0.5598 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1948, allocations: 47.83 kB / 0.5598 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.1948, allocations: 4 kB / 0.5598 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1949, allocations: 4 kB / 0.5598 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.1949, allocations: 0 / 0.5598 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.1949, allocations: 0 / 0.5598 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.195, allocations: 0 / 0.5598 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.1952, allocations: 99.88 kB / 0.5599 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.1952, allocations: 0 / 0.5599 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.1953, allocations: 25.7 kB / 0.56 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1954, allocations: 43.89 kB / 0.56 GB, free: 9.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1954, allocations: 0 / 0.56 GB, free: 9.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1954, allocations: 3.938 kB / 0.56 GB, free: 9.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1954, allocations: 0 / 0.56 GB, free: 9.223 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003832/0.1958, allocations: 327.4 kB / 0.5603 GB, free: 8.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1959, allocations: 19.95 kB / 0.5603 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.1959, allocations: 0 / 0.5603 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.196, allocations: 159.1 kB / 0.5605 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.196, allocations: 0 / 0.5605 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.196, allocations: 4 kB / 0.5605 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.848e-05/0.1961, allocations: 29.7 kB / 0.5605 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1962, allocations: 3.953 kB / 0.5605 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1962, allocations: 4 kB / 0.5605 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1962, allocations: 0 / 0.5605 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.1962, allocations: 3.984 kB / 0.5605 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1964, allocations: 145.7 kB / 0.5607 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.1964, allocations: 22.52 kB / 0.5607 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.1965, allocations: 8.859 kB / 0.5607 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.1971, allocations: 0.5662 MB / 0.5613 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1971, allocations: 30.56 kB / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1971, allocations: 0 / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000135/0.1972, allocations: 41.66 kB / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1973, allocations: 55.34 kB / 0.5614 GB, free: 7.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.1973, allocations: 93.84 kB / 0.5615 GB, free: 7.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1974, allocations: 29.83 kB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.1974, allocations: 80.14 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1974, allocations: 0 / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.1974, allocations: 0 / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1976, allocations: 310.8 kB / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.1976, allocations: 4 kB / 0.5619 GB, free: 6.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.1976, allocations: 0 / 0.5619 GB, free: 6.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.1976, allocations: 0 / 0.5619 GB, free: 6.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1976, allocations: 0 / 0.5619 GB, free: 6.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.058e-05/0.1977, allocations: 49.61 kB / 0.5619 GB, free: 6.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1977, allocations: 4 kB / 0.5619 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1977, allocations: 0 / 0.5619 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1977, allocations: 3.984 kB / 0.5619 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.1978, allocations: 4 kB / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1978, allocations: 3.953 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.1978, allocations: 3.938 kB / 0.5619 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1978, allocations: 4 kB / 0.5619 GB, free: 6.895 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 (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 7.259e-05/0.1979, allocations: 112.3 kB / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.1979, allocations: 4 kB / 0.5621 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.198, allocations: 40.81 kB / 0.5621 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.198, allocations: 3.938 kB / 0.5621 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.198, allocations: 0 / 0.5621 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.198, allocations: 3.953 kB / 0.5621 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.536e-05/0.1981, allocations: 145.7 kB / 0.5622 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1981, allocations: 0 / 0.5622 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.1981, allocations: 0 / 0.5622 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1982, allocations: 4.031 kB / 0.5622 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1982, allocations: 7.984 kB / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1982, allocations: 0 / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1982, allocations: 0 / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.1983, allocations: 61.03 kB / 0.5623 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.1983, allocations: 77.39 kB / 0.5624 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1983, allocations: 4 kB / 0.5624 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.1983, allocations: 4.031 kB / 0.5624 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1984, allocations: 3.984 kB / 0.5624 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.1984, allocations: 0 / 0.5624 GB, free: 6.332 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.1984, allocations: 75.28 kB / 0.5625 GB, free: 6.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1984, allocations: 0 / 0.5625 GB, free: 6.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000191/0.1986, allocations: 8 kB / 0.5625 GB, free: 6.25 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 (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.0001589/0.1988, allocations: 107.9 kB / 0.5626 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.407e-05/0.1988, allocations: 4 kB / 0.5626 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1988, allocations: 8 kB / 0.5626 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.709e-06/0.1989, allocations: 7.984 kB / 0.5626 GB, free: 6.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.199, allocations: 10.47 kB / 0.5626 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.1992, allocations: 100.4 kB / 0.5627 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1994, allocations: 0.6692 MB / 0.5634 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.1995, allocations: 11.44 kB / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1995, allocations: 0 / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of Templates: time 0.001532/0.201, allocations: 435 kB / 0.5638 GB, free: 4.848 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1