Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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) 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(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 95.48 kB / 16.95 MB, free: 5.953 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.001158/0.001158, allocations: 177.6 kB / 17.84 MB, free: 5.617 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.605/1.605, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 11.94 kB / 301.4 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 50.42 MB / 351.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002679/0.1384, allocations: 1.288 MB / 353.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.1457, allocations: 3.031 MB / 356.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.146, allocations: 7.938 kB / 356.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.1464, allocations: 39.83 kB / 356.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.1465, allocations: 15.86 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.1511, allocations: 1.058 MB / 357.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1514, allocations: 119.7 kB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1515, allocations: 21.39 kB / 357.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1516, allocations: 51.78 kB / 357.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1518, allocations: 43.77 kB / 357.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1518, allocations: 4 kB / 357.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.1541, allocations: 1.097 MB / 358.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.1542, allocations: 27.91 kB / 358.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1543, allocations: 45.64 kB / 358.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1559, allocations: 1.088 MB / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1559, allocations: 0 / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1559, allocations: 0 / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.156, allocations: 8 kB / 359.8 MB, free: 12.08 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001485/0.1574, allocations: 0.534 MB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1575, allocations: 15.97 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.1576, allocations: 15.77 kB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1579, allocations: 210.8 kB / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.158, allocations: 7.938 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.158, allocations: 12 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1585, allocations: 125.1 kB / 360.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1585, allocations: 0 / 360.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1585, allocations: 4 kB / 360.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1586, allocations: 4 kB / 360.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.1588, allocations: 63.91 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1599, allocations: 388.5 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.1604, allocations: 130.5 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1606, allocations: 44.8 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1606, allocations: 0 / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.1607, allocations: 34.56 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.1607, allocations: 0 / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00376/0.1645, allocations: 1.219 MB / 362.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.1646, allocations: 132.5 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1649, allocations: 178.8 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.1649, allocations: 33.7 kB / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1651, allocations: 104.5 kB / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.1652, allocations: 63.19 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.1652, allocations: 4.375 kB / 363.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003005/0.1655, allocations: 326.8 kB / 363.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.1658, allocations: 99.94 kB / 363.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.1661, allocations: 131.3 kB / 363.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.1664, allocations: 119.9 kB / 363.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1664, allocations: 0 / 363.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008306/0.1673, allocations: 306.4 kB / 364 MB, free: 7.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1673, allocations: 4 kB / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.1673, allocations: 8 kB / 364.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.1676, allocations: 48.75 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1679, allocations: 35.97 kB / 364.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.1701, allocations: 1.397 MB / 365.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1702, allocations: 12.02 kB / 365.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.1702, allocations: 4 kB / 365.6 MB, free: 5.789 MB / 302.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002857/0.1705, allocations: 137.8 kB / 365.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.1706, allocations: 15.81 kB / 365.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.1707, allocations: 25.48 kB / 365.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1707, allocations: 96 / 365.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1707, allocations: 4 kB / 365.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.1708, allocations: 3.984 kB / 365.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1712, allocations: 241.6 kB / 366 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.1712, allocations: 4 kB / 366 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.1716, allocations: 63.89 kB / 366 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1716, allocations: 3.938 kB / 366 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1717, allocations: 0 / 366 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1717, allocations: 3.953 kB / 366 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1717, allocations: 4 kB / 366.1 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.1725, allocations: 418.2 kB / 366.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.1727, allocations: 92.86 kB / 366.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1727, allocations: 4 kB / 366.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1729, allocations: 12.03 kB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.173, allocations: 11.94 kB / 366.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.173, allocations: 8 kB / 366.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1732, allocations: 127.5 kB / 366.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1732, allocations: 0 / 366.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002688/0.1759, allocations: 0.5156 MB / 367.2 MB, free: 4.027 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.001743/0.1777, allocations: 0.5498 MB / 367.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.1786, allocations: 400.3 kB / 368.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1786, allocations: 0 / 368.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.1789, allocations: 95.88 kB / 368.3 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.1795, allocations: 23.98 kB / 368.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1806, allocations: 478.3 kB / 368.8 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.1812, allocations: 0.7363 MB / 369.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.1813, allocations: 15.44 kB / 369.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1813, allocations: 0 / 369.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of Templates: time 0.2303/0.4116, allocations: 6.149 MB / 375.7 MB, free: 23.97 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiationCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiationCalcHelperMain.o] Error 1