Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.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.001127/0.001127, allocations: 96.38 kB / 15.7 MB, free: 456 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.001677/0.001677, allocations: 175.5 kB / 16.58 MB, free: 6.41 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.408/1.408, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.5 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 16 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9092/0.9096, allocations: 142.3 MB / 0.9544 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007172/0.9103, allocations: 310.7 kB / 0.9547 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.9117, allocations: 1.201 MB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.9118, allocations: 0 / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.9118, allocations: 0 / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.9118, allocations: 1.312 kB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.9121, allocations: 55.11 kB / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.899e-05/0.9121, allocations: 1.562 kB / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.9122, allocations: 0 / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.9122, allocations: 1.656 kB / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.9123, allocations: 1.719 kB / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.9123, allocations: 0 / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.9125, allocations: 94.7 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-06/0.9125, allocations: 0 / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.9126, allocations: 25.7 kB / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.9127, allocations: 42.09 kB / 0.9561 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.9127, allocations: 5.344 kB / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9127, allocations: 0 / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9127, allocations: 0 / 0.9561 GB, free: 6.73 MB / 0.7169 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.0002291/0.9129, allocations: 324.9 kB / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.913, allocations: 7.625 kB / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.913, allocations: 5.297 kB / 0.9564 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/0.9131, allocations: 167.1 kB / 0.9566 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.9131, allocations: 0 / 0.9566 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.9131, allocations: 1.75 kB / 0.9566 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.9132, allocations: 30.98 kB / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.9132, allocations: 3.938 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.9132, allocations: 1.125 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9133, allocations: 3.984 kB / 0.9566 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.9133, allocations: 5.141 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.9134, allocations: 147.9 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.663e-05/0.9134, allocations: 23.8 kB / 0.9568 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.9135, allocations: 9.984 kB / 0.9568 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.9139, allocations: 0.5657 MB / 0.9574 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.9139, allocations: 31.78 kB / 0.9574 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.914, allocations: 0 / 0.9574 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.9141, allocations: 35.17 kB / 0.9574 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.9141, allocations: 59.47 kB / 0.9575 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.07e-05/0.9142, allocations: 89.86 kB / 0.9576 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.9142, allocations: 26.73 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/0.9142, allocations: 80.14 kB / 0.9577 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.9142, allocations: 4.969 kB / 0.9577 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.9142, allocations: 0 / 0.9577 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.9143, allocations: 318.8 kB / 0.958 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.9143, allocations: 1.125 kB / 0.958 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.9143, allocations: 1.188 kB / 0.958 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.736e-05/0.9143, allocations: 10.09 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.9143, allocations: 0 / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.211e-05/0.9144, allocations: 35.36 kB / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9144, allocations: 5.812 kB / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9144, allocations: 0 / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9144, allocations: 0 / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.9145, allocations: 2.156 kB / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.9145, allocations: 7.922 kB / 0.958 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.9145, allocations: 1.188 kB / 0.958 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.9145, allocations: 8.016 kB / 0.958 GB, free: 4.473 MB / 0.7169 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 5.569e-05/0.9146, allocations: 111 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-06/0.9146, allocations: 1.125 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.9147, allocations: 38.52 kB / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.9147, allocations: 0 / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9147, allocations: 0 / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9147, allocations: 1 kB / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.492e-05/0.9148, allocations: 158.7 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.9148, allocations: 0 / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.9148, allocations: 2.219 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.9148, allocations: 0 / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.9148, allocations: 0.9688 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9148, allocations: 0 / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9148, allocations: 1.094 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.019e-05/0.9149, allocations: 66.89 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.9149, allocations: 84.23 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.9149, allocations: 0 / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.9149, allocations: 1 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.915, allocations: 1.031 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.915, allocations: 0 / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.645e-05/0.915, allocations: 76.09 kB / 0.9586 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.915, allocations: 0 / 0.9586 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001846/0.9152, allocations: 8.797 kB / 0.9586 GB, free: 3.859 MB / 0.7169 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.0001583/0.9154, allocations: 107.7 kB / 0.9587 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.9154, allocations: 6.688 kB / 0.9587 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9154, allocations: 0 / 0.9587 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-06/0.9154, allocations: 6.281 kB / 0.9587 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.9156, allocations: 11.48 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.9158, allocations: 98.2 kB / 0.9588 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.9159, allocations: 0.6702 MB / 0.9594 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.9159, allocations: 8.75 kB / 0.9595 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.9159, allocations: 4.125 kB / 0.9595 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.001714/0.9176, allocations: 439.2 kB / 0.9599 GB, free: 2.711 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1