Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.0008536, allocations: 101.3 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.0009123/0.0009124, allocations: 174.3 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.464/1.464, allocations: 223.2 MB / 240.6 MB, free: 5.402 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.456/2.456, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003705, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9122, allocations: 142.3 MB / 0.9544 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001628/0.9139, allocations: 1.197 MB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.9149, allocations: 0.5982 MB / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.9149, allocations: 1.031 kB / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.915, allocations: 0 / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.915, allocations: 8.906 kB / 0.9562 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.9153, allocations: 63.14 kB / 0.9562 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.9154, allocations: 32.02 kB / 0.9563 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.9155, allocations: 9.484 kB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.9156, allocations: 13.84 kB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.9157, allocations: 12.55 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.9157, allocations: 1.031 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.9159, allocations: 102.4 kB / 0.9564 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.9159, allocations: 6.188 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.9159, allocations: 31.86 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.9161, allocations: 57.17 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9161, allocations: 5.188 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9161, allocations: 3.938 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.9161, allocations: 0 / 0.9565 GB, free: 6.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004044/0.9165, allocations: 352 kB / 0.9568 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.9166, allocations: 13.09 kB / 0.9568 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.9166, allocations: 10.77 kB / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.9167, allocations: 165.4 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.9167, allocations: 9.172 kB / 0.957 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.9167, allocations: 2.281 kB / 0.957 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.9169, allocations: 60.8 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.9169, allocations: 0 / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.9169, allocations: 0 / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.9169, allocations: 1.062 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.917, allocations: 38.91 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.9174, allocations: 275.1 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.9175, allocations: 34.14 kB / 0.9574 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.9175, allocations: 24.5 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.9179, allocations: 0.5564 MB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.9179, allocations: 35.77 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9179, allocations: 0 / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002534/0.9182, allocations: 80.77 kB / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.9182, allocations: 52.56 kB / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.9183, allocations: 126 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.9183, allocations: 25.7 kB / 0.9583 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.9184, allocations: 90.48 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.9184, allocations: 3.906 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.9184, allocations: 1.219 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.9185, allocations: 319.9 kB / 0.9587 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.9185, allocations: 11.72 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.9186, allocations: 11.23 kB / 0.9587 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.9186, allocations: 13.09 kB / 0.9587 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9186, allocations: 0 / 0.9587 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.9187, allocations: 66.78 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9188, allocations: 13.06 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.9188, allocations: 0 / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.9188, allocations: 0 / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.9189, allocations: 10.56 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.9189, allocations: 0 / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.9189, allocations: 2.688 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.9189, allocations: 1.344 kB / 0.9588 GB, free: 4.137 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 (2): * Single equations (assignments): 2 * 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.821e-05/0.919, allocations: 120.3 kB / 0.9589 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.919, allocations: 2.125 kB / 0.9589 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.9192, allocations: 77.62 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9192, allocations: 0 / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9192, allocations: 1.062 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9192, allocations: 0 / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.9193, allocations: 165.5 kB / 0.9592 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.9194, allocations: 0 / 0.9592 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.9194, allocations: 6 kB / 0.9592 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9194, allocations: 3.938 kB / 0.9592 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.9194, allocations: 5.453 kB / 0.9592 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9194, allocations: 3.953 kB / 0.9592 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9194, allocations: 0 / 0.9592 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.9196, allocations: 157.8 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.9196, allocations: 82.48 kB / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.9196, allocations: 5.484 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.9197, allocations: 2.188 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.9197, allocations: 5.328 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.9197, allocations: 0 / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.9198, allocations: 98.61 kB / 0.9595 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9198, allocations: 4.031 kB / 0.9595 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.92, allocations: 12.81 kB / 0.9595 GB, free: 3.383 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 (2): * Single equations (assignments): 2 * 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.0001452/0.9202, allocations: 107.9 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.9203, allocations: 29.48 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9203, allocations: 3.938 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.9204, allocations: 18.41 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.9206, allocations: 3.516 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.9209, allocations: 167.5 kB / 0.9598 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.921, allocations: 0.6802 MB / 0.9605 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.921, allocations: 13.38 kB / 0.9605 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.921, allocations: 5.031 kB / 0.9605 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002333/0.9234, allocations: 0.7159 MB / 0.9612 GB, free: 2.023 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.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.Examples.SpliceCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.SpliceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.SpliceCalcHelperMain.o] Error 1