Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 88.11 kB / 16.67 MB, free: 6.59 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.001379/0.001379, allocations: 180.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2614/0.2614, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006045, allocations: 19.84 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01291/0.1553, allocations: 12.35 MB / 456.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008968/0.1643, allocations: 5.571 MB / 462 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.1653, allocations: 23.81 kB / 462.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000772/0.166, allocations: 171.1 kB / 462.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.1682, allocations: 0.6418 MB / 462.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.1724, allocations: 1.299 MB / 464.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.1755, allocations: 1.719 MB / 465.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.1761, allocations: 281.3 kB / 466.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009747/0.1771, allocations: 434.3 kB / 466.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.1779, allocations: 458.3 kB / 467 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.224e-05/0.1779, allocations: 24 kB / 467 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.1806, allocations: 1.033 MB / 468.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.1808, allocations: 147.4 kB / 468.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.1812, allocations: 276.5 kB / 468.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.1829, allocations: 0.9121 MB / 469.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1829, allocations: 4 kB / 469.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1829, allocations: 0 / 469.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1829, allocations: 0 / 469.4 MB, free: 11.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001833/0.1848, allocations: 0.8431 MB / 470.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1848, allocations: 8.031 kB / 470.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.1851, allocations: 72.27 kB / 470.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.1858, allocations: 441.2 kB / 470.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.1859, allocations: 28.55 kB / 470.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.1859, allocations: 24 kB / 470.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.1868, allocations: 0.5224 MB / 471.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1868, allocations: 4 kB / 471.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.1869, allocations: 12 kB / 471.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.187, allocations: 28.55 kB / 471.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.1877, allocations: 461.9 kB / 471.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.1914, allocations: 2.277 MB / 474.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.1919, allocations: 230.7 kB / 474.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.1922, allocations: 132.8 kB / 474.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.1935, allocations: 1.021 MB / 475.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.1939, allocations: 222.1 kB / 475.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 3.667e-06/0.194, allocations: 0 / 475.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007191/0.1947, allocations: 374.6 kB / 476.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002813/0.195, allocations: 251.3 kB / 476.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.1957, allocations: 0.5174 MB / 476.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1957, allocations: 33.64 kB / 476.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.196, allocations: 291 kB / 477.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.196, allocations: 63.27 kB / 477.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.1961, allocations: 37.7 kB / 477.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1963, allocations: 358.8 kB / 477.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1965, allocations: 128.4 kB / 477.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.1969, allocations: 317 kB / 478 MB, free: 2.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.1975, allocations: 468.9 kB / 478.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1975, allocations: 0 / 478.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008889/0.1984, allocations: 0.5272 MB / 479 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003075/0.1987, allocations: 261.9 kB / 479.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1987, allocations: 4 kB / 479.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1988, allocations: 8 kB / 479.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.1991, allocations: 79.84 kB / 479.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.1991, allocations: 11.98 kB / 479.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.1995, allocations: 51.44 kB / 479.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.1996, allocations: 23.98 kB / 479.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.1996, allocations: 4 kB / 479.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007252/0.2003, allocations: 489 kB / 479.9 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2003, allocations: 4.594 kB / 479.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.2004, allocations: 8 kB / 479.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.2006, allocations: 83.84 kB / 480 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2006, allocations: 4 kB / 480 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.201, allocations: 55.52 kB / 480.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.201, allocations: 20 kB / 480.1 MB, free: 292 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004048/0.2014, allocations: 300.3 kB / 480.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.2015, allocations: 55.38 kB / 480.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.2022, allocations: 359.4 kB / 480.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2022, allocations: 0 / 480.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2022, allocations: 7.875 kB / 480.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2022, allocations: 7.922 kB / 480.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.2027, allocations: 413.2 kB / 481.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2027, allocations: 0 / 481.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2029, allocations: 28.06 kB / 481.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2029, allocations: 4 kB / 481.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2029, allocations: 11.92 kB / 481.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2029, allocations: 0 / 481.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.2029, allocations: 7.938 kB / 481.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.2034, allocations: 369.9 kB / 481.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2036, allocations: 128.5 kB / 481.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.2037, allocations: 8 kB / 481.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.2039, allocations: 16 kB / 481.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.204, allocations: 11.98 kB / 481.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.204, allocations: 11.98 kB / 481.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004599/0.2045, allocations: 370.8 kB / 482.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2045, allocations: 0 / 482.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001307/0.2058, allocations: 431.5 kB / 482.6 MB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.2069, allocations: 412.7 kB / 483 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.208, allocations: 0.6708 MB / 483.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.208, allocations: 0.6875 kB / 483.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.2082, allocations: 183.3 kB / 483.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2093, allocations: 207.1 kB / 484 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.2112, allocations: 1.047 MB / 485.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.2118, allocations: 0.8474 MB / 485.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2119, allocations: 43.42 kB / 486 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2119, allocations: 0 / 486 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01902/0.2309, allocations: 9.958 MB / 495.9 MB, free: 236 kB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipeCalcHelperMain.o] Error 1