Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,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.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,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.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001109, allocations: 96.41 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.001617/0.001618, allocations: 202.5 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.601/1.601, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 45.93 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 63.46 MB / 482.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5988/0.7573, allocations: 166.9 MB / 0.6338 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.7641, allocations: 3.127 MB / 0.6369 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.7649, allocations: 19.88 kB / 0.6369 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.766, allocations: 254.3 kB / 0.6372 GB, free: 12.12 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.004565/0.7706, allocations: 1.193 MB / 0.6383 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.7726, allocations: 0.5797 MB / 0.6389 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.775, allocations: 1.75 MB / 0.6406 GB, free: 8.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.7756, allocations: 342 kB / 0.6409 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008889/0.7765, allocations: 0.5136 MB / 0.6414 GB, free: 7.754 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.7771, allocations: 454.2 kB / 0.6419 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.7772, allocations: 31.98 kB / 0.6419 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.7796, allocations: 1.021 MB / 0.6429 GB, free: 6.258 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.7798, allocations: 135.5 kB / 0.643 GB, free: 6.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.7799, allocations: 149.4 kB / 0.6432 GB, free: 5.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.7814, allocations: 1.044 MB / 0.6442 GB, free: 4.926 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7814, allocations: 0 / 0.6442 GB, free: 4.926 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7814, allocations: 0 / 0.6442 GB, free: 4.926 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.7815, allocations: 0 / 0.6442 GB, free: 4.926 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.00182/0.7833, allocations: 0.9194 MB / 0.6451 GB, free: 3.957 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7833, allocations: 15.95 kB / 0.6451 GB, free: 3.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.7843, allocations: 143 kB / 0.6452 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.785, allocations: 460.8 kB / 0.6457 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.785, allocations: 29 kB / 0.6457 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.7851, allocations: 44 kB / 0.6457 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.7862, allocations: 0.5945 MB / 0.6463 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7862, allocations: 0 / 0.6463 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.7863, allocations: 20.5 kB / 0.6463 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.7863, allocations: 12 kB / 0.6463 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.7872, allocations: 495.5 kB / 0.6468 GB, free: 2.09 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.003119/0.7904, allocations: 2.674 MB / 0.6494 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.7911, allocations: 347.5 kB / 0.6498 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.7915, allocations: 181.3 kB / 0.6499 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/0.792, allocations: 437.8 kB / 0.6504 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.7921, allocations: 43.36 kB / 0.6504 GB, free: 14.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.7921, allocations: 4 kB / 0.6504 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001858/0.7939, allocations: 0.7421 MB / 0.6511 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.7941, allocations: 132.5 kB / 0.6513 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007415/0.7949, allocations: 498 kB / 0.6517 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.7949, allocations: 29.7 kB / 0.6518 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.7952, allocations: 287.8 kB / 0.652 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.7954, allocations: 114.2 kB / 0.6521 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.7954, allocations: 11.94 kB / 0.6521 GB, free: 12.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.7957, allocations: 366.8 kB / 0.6525 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.796, allocations: 156.8 kB / 0.6526 GB, free: 11.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.7964, allocations: 279.7 kB / 0.6529 GB, free: 11.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.7968, allocations: 189 kB / 0.6531 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.7968, allocations: 4 kB / 0.6531 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001022/0.7979, allocations: 0.5447 MB / 0.6536 GB, free: 10.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7979, allocations: 7.953 kB / 0.6536 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7979, allocations: 8 kB / 0.6536 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.7994, allocations: 296.5 kB / 0.6539 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.7998, allocations: 107.8 kB / 0.654 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005118/0.8003, allocations: 0.6006 MB / 0.6546 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.8007, allocations: 67.5 kB / 0.6547 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.8008, allocations: 47.98 kB / 0.6547 GB, free: 9.473 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.0002678/0.8011, allocations: 181.7 kB / 0.6549 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.8012, allocations: 55.34 kB / 0.655 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.8033, allocations: 1.111 MB / 0.656 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8033, allocations: 4 kB / 0.656 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8033, allocations: 0 / 0.656 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.8033, allocations: 3.984 kB / 0.656 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.805, allocations: 1.038 MB / 0.6571 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.805, allocations: 0 / 0.6571 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.8052, allocations: 55.91 kB / 0.6571 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.8082, allocations: 0.5355 MB / 0.6576 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.8083, allocations: 8 kB / 0.6576 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.8088, allocations: 0.6186 MB / 0.6582 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8088, allocations: 0 / 0.6582 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.8097, allocations: 0.517 MB / 0.6588 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.8099, allocations: 164.2 kB / 0.6589 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.81, allocations: 8 kB / 0.6589 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.8104, allocations: 35.97 kB / 0.659 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.8105, allocations: 23.97 kB / 0.659 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.8105, allocations: 15.98 kB / 0.659 GB, free: 4.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005362/0.8111, allocations: 390.8 kB / 0.6594 GB, free: 4.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8111, allocations: 4 kB / 0.6594 GB, free: 4.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001146/0.8122, allocations: 283.7 kB / 0.6596 GB, free: 4.262 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.001171/0.8134, allocations: 384.4 kB / 0.66 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.8144, allocations: 384.4 kB / 0.6604 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.8145, allocations: 4 kB / 0.6604 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.8148, allocations: 168.3 kB / 0.6605 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.8162, allocations: 289.7 kB / 0.6608 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.8179, allocations: 1.119 MB / 0.6619 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.8184, allocations: 0.8594 MB / 0.6627 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.8188, allocations: 119.4 kB / 0.6629 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.8188, allocations: 0 / 0.6629 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of Templates: time 0.02169/0.8405, allocations: 14.04 MB / 0.6766 GB, free: 2.891 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrificeCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrificeCalcHelperMain.o] Error 1