Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008283/0.0008282, allocations: 95.81 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008529/0.0008529, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.3 MB / 246.6 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 45.9 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 4 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5955/0.7449, allocations: 166.9 MB / 0.6338 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006416/0.7513, allocations: 3.509 MB / 0.6373 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006306/0.752, allocations: 19.81 kB / 0.6373 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.753, allocations: 254.3 kB / 0.6375 GB, free: 11.71 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004681/0.7577, allocations: 1.49 MB / 0.639 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.7596, allocations: 0.5582 MB / 0.6395 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.7621, allocations: 1.727 MB / 0.6412 GB, free: 7.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.7626, allocations: 337.9 kB / 0.6415 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.7635, allocations: 0.5097 MB / 0.642 GB, free: 7.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.7641, allocations: 454.2 kB / 0.6425 GB, free: 6.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.7642, allocations: 28 kB / 0.6425 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.7678, allocations: 1.707 MB / 0.6441 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.768, allocations: 131.5 kB / 0.6443 GB, free: 4.793 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.7682, allocations: 145.5 kB / 0.6444 GB, free: 4.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.7701, allocations: 1.175 MB / 0.6456 GB, free: 3.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.7701, allocations: 0 / 0.6456 GB, free: 3.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7701, allocations: 0 / 0.6456 GB, free: 3.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.7701, allocations: 0 / 0.6456 GB, free: 3.469 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001818/0.7719, allocations: 0.9468 MB / 0.6465 GB, free: 2.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.772, allocations: 12.03 kB / 0.6465 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.7729, allocations: 139.1 kB / 0.6466 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.7736, allocations: 452.8 kB / 0.6471 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.7737, allocations: 33 kB / 0.6471 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.7737, allocations: 40 kB / 0.6471 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.7748, allocations: 0.5945 MB / 0.6477 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.7749, allocations: 0 / 0.6477 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.7749, allocations: 20 kB / 0.6477 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.775, allocations: 8 kB / 0.6477 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009983/0.776, allocations: 491.5 kB / 0.6482 GB, free: 0.6289 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.7799, allocations: 2.652 MB / 0.6508 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.7807, allocations: 351.4 kB / 0.6511 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.781, allocations: 169.3 kB / 0.6513 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/0.7815, allocations: 437.8 kB / 0.6517 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.7816, allocations: 38.84 kB / 0.6517 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.135e-06/0.7816, allocations: 0 / 0.6517 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001692/0.7833, allocations: 0.7304 MB / 0.6525 GB, free: 11.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.7834, allocations: 132.5 kB / 0.6526 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.7839, allocations: 469.9 kB / 0.653 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.784, allocations: 37.7 kB / 0.6531 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.7842, allocations: 275.8 kB / 0.6533 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.7843, allocations: 114.4 kB / 0.6534 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.7843, allocations: 4 kB / 0.6534 GB, free: 10.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.7845, allocations: 358.8 kB / 0.6538 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.7848, allocations: 156.8 kB / 0.6539 GB, free: 10.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.7852, allocations: 287.6 kB / 0.6542 GB, free: 9.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.7856, allocations: 185 kB / 0.6544 GB, free: 9.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7856, allocations: 4 kB / 0.6544 GB, free: 9.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001009/0.7866, allocations: 0.5444 MB / 0.6549 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.7867, allocations: 8 kB / 0.6549 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.7867, allocations: 7.953 kB / 0.6549 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.7882, allocations: 292.8 kB / 0.6552 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.7886, allocations: 109.6 kB / 0.6553 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005514/0.7891, allocations: 0.5836 MB / 0.6559 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.7896, allocations: 71.56 kB / 0.656 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.7897, allocations: 40 kB / 0.656 GB, free: 8.129 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.79, allocations: 181.7 kB / 0.6562 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.7901, allocations: 67.2 kB / 0.6562 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.7922, allocations: 1.098 MB / 0.6573 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.7923, allocations: 8 kB / 0.6573 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7923, allocations: 0 / 0.6573 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.7923, allocations: 3.984 kB / 0.6573 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.7938, allocations: 1.003 MB / 0.6583 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.7938, allocations: 7.984 kB / 0.6583 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.7941, allocations: 51.91 kB / 0.6584 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/0.7969, allocations: 0.5355 MB / 0.6589 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.797, allocations: 19.98 kB / 0.6589 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004809/0.7975, allocations: 0.5992 MB / 0.6595 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7975, allocations: 3.938 kB / 0.6595 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.7983, allocations: 0.5057 MB / 0.66 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.7986, allocations: 152.4 kB / 0.6601 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.7987, allocations: 15.94 kB / 0.6601 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.799, allocations: 35.91 kB / 0.6602 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.7991, allocations: 31.91 kB / 0.6602 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.7991, allocations: 20.06 kB / 0.6602 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000514/0.7997, allocations: 378.8 kB / 0.6606 GB, free: 3.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7997, allocations: 0 / 0.6606 GB, free: 3.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001243/0.8009, allocations: 331.7 kB / 0.6609 GB, free: 2.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.8025, allocations: 445.8 kB / 0.6613 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009298/0.8034, allocations: 383.5 kB / 0.6617 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8034, allocations: 4 kB / 0.6617 GB, free: 2.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.8038, allocations: 169 kB / 0.6619 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.8052, allocations: 297.4 kB / 0.6621 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.8073, allocations: 1.095 MB / 0.6632 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/0.808, allocations: 0.8555 MB / 0.664 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.8084, allocations: 123.3 kB / 0.6642 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.8084, allocations: 0 / 0.6642 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.02361/0.832, allocations: 14.74 MB / 0.6786 GB, free: 0.7969 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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 OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBendCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBendCalcHelperMain.o] Error 1