Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009613, allocations: 100 kB / 18.01 MB, free: 5.734 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.001185/0.001185, allocations: 181.7 kB / 18.91 MB, free: 4.871 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.66/1.66, allocations: 223.2 MB / 242.9 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.24 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004287, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1677, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.573/0.7408, allocations: 178.7 MB / 0.6363 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006653/0.7475, allocations: 3.345 MB / 0.6396 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008685/0.7484, allocations: 19.81 kB / 0.6396 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.7496, allocations: 274.5 kB / 0.6398 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.7545, allocations: 1.233 MB / 0.641 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.7568, allocations: 0.6678 MB / 0.6417 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.7599, allocations: 2.039 MB / 0.6437 GB, free: 8.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.7606, allocations: 355.3 kB / 0.644 GB, free: 8.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.762, allocations: 0.5252 MB / 0.6445 GB, free: 7.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007254/0.7628, allocations: 478 kB / 0.645 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.7629, allocations: 28 kB / 0.645 GB, free: 7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.7656, allocations: 1.107 MB / 0.6461 GB, free: 5.891 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.7658, allocations: 143.4 kB / 0.6462 GB, free: 5.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.7662, allocations: 348.2 kB / 0.6466 GB, free: 5.402 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.7679, allocations: 1.056 MB / 0.6476 GB, free: 4.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7679, allocations: 0 / 0.6476 GB, free: 4.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7679, allocations: 0 / 0.6476 GB, free: 4.344 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.7679, allocations: 0 / 0.6476 GB, free: 4.344 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.001827/0.7697, allocations: 0.9155 MB / 0.6485 GB, free: 3.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.7698, allocations: 8.031 kB / 0.6485 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/0.7708, allocations: 139.1 kB / 0.6486 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.7715, allocations: 488.3 kB / 0.6491 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.7715, allocations: 29 kB / 0.6491 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.7716, allocations: 43.94 kB / 0.6492 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.7727, allocations: 0.6062 MB / 0.6498 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.7728, allocations: 11.94 kB / 0.6498 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.7729, allocations: 19.94 kB / 0.6498 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.7729, allocations: 12 kB / 0.6498 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.7739, allocations: 483.6 kB / 0.6503 GB, free: 1.484 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.003479/0.7773, allocations: 2.67 MB / 0.6529 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.7782, allocations: 358.3 kB / 0.6532 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.7785, allocations: 181.3 kB / 0.6534 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004938/0.779, allocations: 433.9 kB / 0.6538 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.7791, allocations: 42.34 kB / 0.6538 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.7791, allocations: 0 / 0.6538 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001863/0.781, allocations: 0.7537 MB / 0.6546 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.7811, allocations: 132.5 kB / 0.6547 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.7817, allocations: 498.1 kB / 0.6552 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.7818, allocations: 37.69 kB / 0.6552 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.782, allocations: 279.7 kB / 0.6555 GB, free: 11.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.7821, allocations: 122.3 kB / 0.6556 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.7822, allocations: 37.7 kB / 0.6556 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.7824, allocations: 354.8 kB / 0.656 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.7828, allocations: 152.8 kB / 0.6561 GB, free: 11.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.7832, allocations: 295.7 kB / 0.6564 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.784, allocations: 449.6 kB / 0.6568 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.784, allocations: 0 / 0.6568 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001161/0.7852, allocations: 0.5521 MB / 0.6574 GB, free: 9.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.7852, allocations: 7.938 kB / 0.6574 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7853, allocations: 8.375 kB / 0.6574 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.7869, allocations: 296.5 kB / 0.6577 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.7873, allocations: 107.8 kB / 0.6578 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.7878, allocations: 0.5992 MB / 0.6584 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.7883, allocations: 59.52 kB / 0.6584 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7884, allocations: 47.98 kB / 0.6585 GB, free: 8.539 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.7887, allocations: 189.6 kB / 0.6586 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.7888, allocations: 55.34 kB / 0.6587 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.791, allocations: 1.116 MB / 0.6598 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.791, allocations: 0 / 0.6598 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7911, allocations: 4 kB / 0.6598 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7911, allocations: 3.984 kB / 0.6598 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.7929, allocations: 1.034 MB / 0.6608 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.7929, allocations: 4 kB / 0.6608 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.7931, allocations: 55.91 kB / 0.6609 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0034/0.7965, allocations: 0.5432 MB / 0.6614 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.7966, allocations: 8 kB / 0.6614 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004822/0.797, allocations: 0.6108 MB / 0.662 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7971, allocations: 4.031 kB / 0.662 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.7979, allocations: 0.5233 MB / 0.6625 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.7982, allocations: 164.2 kB / 0.6627 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.7983, allocations: 8 kB / 0.6627 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.7987, allocations: 43.91 kB / 0.6627 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.7988, allocations: 27.89 kB / 0.6627 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.7989, allocations: 15.98 kB / 0.6628 GB, free: 3.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005988/0.7995, allocations: 426.8 kB / 0.6632 GB, free: 3.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7995, allocations: 0 / 0.6632 GB, free: 3.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000936/0.8004, allocations: 279.8 kB / 0.6634 GB, free: 3.254 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000925/0.8014, allocations: 379.2 kB / 0.6638 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008983/0.8023, allocations: 380.3 kB / 0.6642 GB, free: 2.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.8023, allocations: 4 kB / 0.6642 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.8027, allocations: 172.2 kB / 0.6643 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.8045, allocations: 348.1 kB / 0.6647 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.8063, allocations: 1.146 MB / 0.6658 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.8067, allocations: 0.8634 MB / 0.6666 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.8072, allocations: 119.4 kB / 0.6667 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.8072, allocations: 0 / 0.6667 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.02282/0.83, allocations: 14.53 MB / 0.6809 GB, free: 1.324 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrificeCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrificeCalcHelperMain.o] Error 1