Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_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.001137/0.001136, allocations: 102.2 kB / 15.71 MB, free: 440 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.001339/0.001339, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.503/1.503, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 436.7 MB / 0.7113 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 12 kB / 0.8717 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8696/0.87, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007795/0.8708, allocations: 317.3 kB / 1.022 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.8723, allocations: 1.194 MB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.8723, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.8724, allocations: 7.938 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.8724, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.8727, allocations: 51.89 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.8728, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.8728, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.8728, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.8729, allocations: 3.984 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.8729, allocations: 4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.8731, allocations: 87.89 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.8732, allocations: 4 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.8732, allocations: 29.7 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.8733, allocations: 43.83 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8733, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8733, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8733, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 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.0003273/0.8737, allocations: 319.4 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.8737, allocations: 15.98 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.8738, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.8739, allocations: 159.1 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8739, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.8739, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.874, allocations: 37.64 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.874, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.874, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8741, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.8741, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.8742, allocations: 153.6 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.8743, allocations: 18.58 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.8743, allocations: 4.859 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.8749, allocations: 0.5662 MB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.8749, allocations: 34.52 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8749, allocations: 7.938 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.8751, allocations: 41.55 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.8751, allocations: 55.39 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.8752, allocations: 89.86 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.8752, allocations: 25.7 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.8752, allocations: 84.14 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.8753, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.8753, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8754, allocations: 314.8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-06/0.8754, allocations: 4.125 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.8754, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.8754, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8755, allocations: 3.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.027e-05/0.8755, allocations: 29.7 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.8755, allocations: 7.984 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8756, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8756, allocations: 7.891 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.8756, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8756, allocations: 8.078 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.8756, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.8757, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 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 7.705e-05/0.8757, allocations: 113.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.8758, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.8758, allocations: 36.81 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8759, allocations: 3.953 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8759, allocations: 4.031 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8759, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.876, allocations: 149.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.876, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.876, allocations: 7.984 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.876, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.876, allocations: 4 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.876, allocations: 3.938 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8761, allocations: 3.953 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.05e-05/0.8761, allocations: 53.14 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.8762, allocations: 83.08 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8762, allocations: 3.984 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.8762, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.8762, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.8763, allocations: 7.953 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.8763, allocations: 75.28 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8763, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001975/0.8765, allocations: 11.94 kB / 1.026 GB, free: 12.39 MB / 0.7794 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.000223/0.8767, allocations: 107.3 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.8768, allocations: 11.92 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.8768, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.8769, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.877, allocations: 7.875 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.8772, allocations: 100.8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.8775, allocations: 0.6809 MB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.8775, allocations: 11.42 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8775, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.001748/0.8793, allocations: 430.9 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1