Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008052, allocations: 100.5 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.001275/0.001275, allocations: 176 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.409/1.409, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.558/2.558, allocations: 390.4 MB / 0.6662 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 15.94 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.83, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007186/0.8308, allocations: 343.8 kB / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.8322, allocations: 1.226 MB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.8322, allocations: 0 / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.8322, allocations: 0 / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.223e-05/0.8322, allocations: 1.062 kB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.8325, allocations: 64.95 kB / 0.956 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.8326, allocations: 17.11 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.8327, allocations: 1.125 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.8327, allocations: 14.38 kB / 0.956 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.8328, allocations: 17.41 kB / 0.9561 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.8328, allocations: 0 / 0.9561 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.833, allocations: 104 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.833, allocations: 10.27 kB / 0.9562 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.833, allocations: 26.77 kB / 0.9562 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.933e-05/0.8331, allocations: 45.19 kB / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.8332, allocations: 0 / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8332, allocations: 0 / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.8332, allocations: 0 / 0.9562 GB, free: 6.684 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000347/0.8335, allocations: 350.8 kB / 0.9566 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.8336, allocations: 12.56 kB / 0.9566 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.8336, allocations: 6.422 kB / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.8337, allocations: 160.3 kB / 0.9567 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.8337, allocations: 5.438 kB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.8337, allocations: 3.594 kB / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.8338, allocations: 52.55 kB / 0.9568 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8339, allocations: 1.125 kB / 0.9568 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8339, allocations: 0 / 0.9568 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8339, allocations: 5.219 kB / 0.9568 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.834, allocations: 25.44 kB / 0.9568 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.8341, allocations: 170 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.8342, allocations: 63.14 kB / 0.9571 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.8343, allocations: 27.94 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/0.8346, allocations: 0.5635 MB / 0.9576 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.8347, allocations: 32 kB / 0.9577 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.8347, allocations: 0 / 0.9577 GB, free: 5.055 MB / 0.7169 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01654/0.8512, allocations: 4.275 MB / 0.9618 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.8513, allocations: 58.59 kB / 0.9619 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.8514, allocations: 94.67 kB / 0.962 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.8514, allocations: 30.55 kB / 0.962 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.082e-05/0.8515, allocations: 81.11 kB / 0.9621 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.8516, allocations: 61.11 kB / 0.9621 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.8516, allocations: 1 kB / 0.9621 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.8517, allocations: 316.8 kB / 0.9624 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.8522, allocations: 309.4 kB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.8527, allocations: 316 kB / 0.963 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.8535, allocations: 384.5 kB / 0.9634 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.8535, allocations: 0 / 0.9634 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001557/0.8551, allocations: 0.8039 MB / 0.9642 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.8551, allocations: 7.5 kB / 0.9642 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.8551, allocations: 3.953 kB / 0.9642 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.8551, allocations: 1.062 kB / 0.9642 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.8559, allocations: 92.05 kB / 0.9643 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8559, allocations: 4.859 kB / 0.9643 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.8563, allocations: 6.375 kB / 0.9643 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.8564, allocations: 40.05 kB / 0.9643 GB, free: 1.031 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 (18): * Single equations (assignments): 18 * 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 0.000155/0.8565, allocations: 116.1 kB / 0.9645 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.8566, allocations: 7.938 kB / 0.9645 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/0.8601, allocations: 1.405 MB / 0.9658 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.8602, allocations: 9.016 kB / 0.9658 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8602, allocations: 4 kB / 0.9658 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.8602, allocations: 7.938 kB / 0.9659 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.8633, allocations: 1.807 MB / 0.9676 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8633, allocations: 1.312 kB / 0.9676 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.864, allocations: 109.2 kB / 0.9677 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.864, allocations: 1.375 kB / 0.9677 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.8641, allocations: 29.61 kB / 0.9678 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.8641, allocations: 6.344 kB / 0.9678 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8641, allocations: 1.375 kB / 0.9678 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.8668, allocations: 1.477 MB / 0.9692 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.8669, allocations: 90.17 kB / 0.9693 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.867, allocations: 7.125 kB / 0.9693 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.8674, allocations: 9.094 kB / 0.9693 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.8675, allocations: 50.34 kB / 0.9694 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.8676, allocations: 35.77 kB / 0.9694 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.8676, allocations: 75.28 kB / 0.9695 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8676, allocations: 0 / 0.9695 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000656/0.8683, allocations: 175.2 kB / 0.9696 GB, free: 13.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0005487/0.8688, allocations: 222.6 kB / 0.9698 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.8702, allocations: 0.7245 MB / 0.9705 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8702, allocations: 4.094 kB / 0.9706 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.8711, allocations: 450.5 kB / 0.971 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.8715, allocations: 17.92 kB / 0.971 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.8745, allocations: 0.8829 MB / 0.9719 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.8748, allocations: 0.7134 MB / 0.9726 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.8754, allocations: 95.53 kB / 0.9726 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.8754, allocations: 0 / 0.9726 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.01196/0.8874, allocations: 6.884 MB / 0.9794 GB, free: 5.961 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1