Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 89.12 kB / 16.67 MB, free: 6.594 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.001218/0.001218, allocations: 181.9 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 1.923/1.923, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2995/0.2995, allocations: 43.58 MB / 315.6 MB, free: 432 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.0006648/0.0006649, allocations: 16.81 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1551, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6671/0.8223, allocations: 183.4 MB / 0.6128 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.8343, allocations: 7.099 MB / 0.6198 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.8357, allocations: 21.03 kB / 0.6198 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.8369, allocations: 298.8 kB / 0.6201 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007949/0.8448, allocations: 2.07 MB / 0.6221 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.8479, allocations: 0.8468 MB / 0.6229 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.8515, allocations: 2.188 MB / 0.625 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.8522, allocations: 380.8 kB / 0.6254 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.8541, allocations: 0.7733 MB / 0.6262 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007917/0.8549, allocations: 0.5052 MB / 0.6267 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.41e-05/0.855, allocations: 27.56 kB / 0.6267 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.8593, allocations: 1.367 MB / 0.628 GB, free: 424 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.8595, allocations: 156.1 kB / 0.6282 GB, free: 312 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.8601, allocations: 374.2 kB / 0.6285 GB, free: 84 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.8622, allocations: 1.22 MB / 0.6297 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8622, allocations: 0 / 0.6297 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.8622, allocations: 0 / 0.6297 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.8622, allocations: 4 kB / 0.6297 GB, free: 15.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002193/0.8644, allocations: 0.9778 MB / 0.6307 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.8645, allocations: 8.031 kB / 0.6307 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.8656, allocations: 163 kB / 0.6308 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.8665, allocations: 0.4886 MB / 0.6313 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.8665, allocations: 29 kB / 0.6313 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.8666, allocations: 48 kB / 0.6314 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.8678, allocations: 0.6478 MB / 0.632 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.8679, allocations: 4 kB / 0.632 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.868, allocations: 27.88 kB / 0.632 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.868, allocations: 12 kB / 0.6321 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/0.869, allocations: 499.6 kB / 0.6325 GB, free: 12.31 MB / 446.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.003307/0.8723, allocations: 2.672 MB / 0.6351 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.873, allocations: 322.7 kB / 0.6355 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.8732, allocations: 164.9 kB / 0.6356 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.8747, allocations: 1.312 MB / 0.6369 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.8747, allocations: 38.56 kB / 0.6369 GB, free: 7.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.8747, allocations: 0 / 0.6369 GB, free: 7.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.001554/0.8763, allocations: 0.7093 MB / 0.6376 GB, free: 6.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.8764, allocations: 158.2 kB / 0.6378 GB, free: 6.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.877, allocations: 0.5223 MB / 0.6383 GB, free: 5.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.8771, allocations: 33.7 kB / 0.6383 GB, free: 5.883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.8773, allocations: 291.7 kB / 0.6386 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.8775, allocations: 134.1 kB / 0.6387 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.8776, allocations: 41.7 kB / 0.6388 GB, free: 5.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000416/0.878, allocations: 366.7 kB / 0.6391 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.8783, allocations: 149 kB / 0.6393 GB, free: 4.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.8788, allocations: 319 kB / 0.6396 GB, free: 4.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.8795, allocations: 478.6 kB / 0.64 GB, free: 3.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8795, allocations: 0 / 0.64 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001054/0.8806, allocations: 0.5719 MB / 0.6406 GB, free: 3.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8806, allocations: 16.03 kB / 0.6406 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8806, allocations: 4 kB / 0.6406 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.8823, allocations: 288.5 kB / 0.6409 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.8827, allocations: 111.9 kB / 0.641 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004963/0.8832, allocations: 0.5952 MB / 0.6416 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.8837, allocations: 67.36 kB / 0.6416 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.072e-05/0.8838, allocations: 51.98 kB / 0.6417 GB, free: 2.246 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002655/0.884, allocations: 197.6 kB / 0.6419 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.8841, allocations: 59.34 kB / 0.6419 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.8859, allocations: 0.7476 MB / 0.6426 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8859, allocations: 4 kB / 0.6426 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8859, allocations: 0 / 0.6426 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.8859, allocations: 3.984 kB / 0.6426 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.8875, allocations: 1.015 MB / 0.6436 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8875, allocations: 0 / 0.6436 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.8877, allocations: 51.92 kB / 0.6437 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/0.8909, allocations: 0.5394 MB / 0.6442 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.891, allocations: 12 kB / 0.6442 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005712/0.8916, allocations: 0.603 MB / 0.6448 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8916, allocations: 4.031 kB / 0.6448 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.8923, allocations: 0.4967 MB / 0.6453 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.8926, allocations: 176.2 kB / 0.6455 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8927, allocations: 11.98 kB / 0.6455 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.8931, allocations: 27.92 kB / 0.6455 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.8931, allocations: 27.91 kB / 0.6455 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.8932, allocations: 19.98 kB / 0.6456 GB, free: 14.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005383/0.8937, allocations: 446.7 kB / 0.646 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8937, allocations: 0 / 0.646 GB, free: 13.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001065/0.8948, allocations: 331.8 kB / 0.6463 GB, free: 13.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001202/0.896, allocations: 469.8 kB / 0.6467 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008476/0.8969, allocations: 373.2 kB / 0.6471 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.8969, allocations: 7.859 kB / 0.6471 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.8972, allocations: 151.8 kB / 0.6473 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.8993, allocations: 375.3 kB / 0.6476 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.9013, allocations: 1.199 MB / 0.6488 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/0.9022, allocations: 0.8676 MB / 0.6496 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9025, allocations: 107.4 kB / 0.6497 GB, free: 9.695 MB / 462.1 MB Notification: Performance of SimCode: time 4e-07/0.9025, allocations: 0 / 0.6497 GB, free: 9.695 MB / 462.1 MB Notification: Performance of Templates: time 0.02457/0.9271, allocations: 15.88 MB / 0.6652 GB, free: 9.82 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.OrificeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.OrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.OrificeCalcHelperMain.o] Error 1