Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Bend,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.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,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.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 93.28 kB / 16.67 MB, free: 5.684 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.002266/0.002266, allocations: 177 kB / 17.57 MB, free: 5.414 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.871/1.871, allocations: 205.4 MB / 223.8 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.2764/0.2764, allocations: 43.59 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.0006758/0.0006757, allocations: 20.75 kB / 385.2 MB, free: 56.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1664, allocations: 58.86 MB / 444.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.6977/0.8642, allocations: 183.5 MB / 0.6128 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.8767, allocations: 7.471 MB / 0.6201 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.8777, allocations: 23.19 kB / 0.6202 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.8789, allocations: 283.6 kB / 0.6204 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009039/0.8879, allocations: 2.357 MB / 0.6227 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.8909, allocations: 0.8255 MB / 0.6235 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.8941, allocations: 2.151 MB / 0.6256 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.8947, allocations: 378.2 kB / 0.626 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.8968, allocations: 0.7579 MB / 0.6267 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.8976, allocations: 0.5023 MB / 0.6272 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.8976, allocations: 24.66 kB / 0.6273 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/0.9034, allocations: 2.518 MB / 0.6297 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.9037, allocations: 151.4 kB / 0.6299 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.9042, allocations: 374.5 kB / 0.6302 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.9069, allocations: 1.341 MB / 0.6315 GB, free: 13.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9069, allocations: 4 kB / 0.6315 GB, free: 13.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.907, allocations: 3.984 kB / 0.6315 GB, free: 13.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.907, allocations: 0 / 0.6315 GB, free: 13.45 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.002271/0.9093, allocations: 1.009 MB / 0.6325 GB, free: 12.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.9093, allocations: 8.031 kB / 0.6325 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.9104, allocations: 163 kB / 0.6327 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.9112, allocations: 496.4 kB / 0.6332 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.9112, allocations: 33 kB / 0.6332 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.9113, allocations: 44 kB / 0.6332 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.9126, allocations: 0.6399 MB / 0.6339 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.9126, allocations: 7.938 kB / 0.6339 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.9127, allocations: 27.94 kB / 0.6339 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.9127, allocations: 12 kB / 0.6339 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.9136, allocations: 495.6 kB / 0.6344 GB, free: 10.41 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.0039/0.9176, allocations: 2.652 MB / 0.637 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.9183, allocations: 326.8 kB / 0.6373 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.9186, allocations: 152.8 kB / 0.6374 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00187/0.9205, allocations: 1.316 MB / 0.6387 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.9206, allocations: 42.56 kB / 0.6387 GB, free: 5.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.687e-06/0.9206, allocations: 0 / 0.6387 GB, free: 5.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.001876/0.9225, allocations: 0.6976 MB / 0.6394 GB, free: 4.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.9226, allocations: 162.2 kB / 0.6396 GB, free: 4.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.9234, allocations: 0.5222 MB / 0.6401 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.9235, allocations: 29.7 kB / 0.6401 GB, free: 4.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.9238, allocations: 303.6 kB / 0.6404 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.9239, allocations: 118.2 kB / 0.6405 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.924, allocations: 45.62 kB / 0.6406 GB, free: 3.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.9242, allocations: 366.8 kB / 0.6409 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.9245, allocations: 153 kB / 0.6411 GB, free: 3.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.925, allocations: 318.9 kB / 0.6414 GB, free: 2.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.9257, allocations: 482.6 kB / 0.6418 GB, free: 2.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.9257, allocations: 0 / 0.6418 GB, free: 2.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009948/0.9267, allocations: 0.5753 MB / 0.6424 GB, free: 1.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.9268, allocations: 7.938 kB / 0.6424 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9268, allocations: 8 kB / 0.6424 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.9284, allocations: 289.1 kB / 0.6427 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.9289, allocations: 111.9 kB / 0.6428 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004799/0.9294, allocations: 0.5913 MB / 0.6434 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.9298, allocations: 71.42 kB / 0.6434 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.9299, allocations: 51.98 kB / 0.6435 GB, free: 372 kB / 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.0003299/0.9302, allocations: 193.6 kB / 0.6437 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.9304, allocations: 59.34 kB / 0.6437 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.9321, allocations: 0.7358 MB / 0.6444 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.9321, allocations: 8 kB / 0.6445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.9321, allocations: 0 / 0.6445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.9321, allocations: 0 / 0.6445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.9338, allocations: 1.015 MB / 0.6454 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9338, allocations: 4 kB / 0.6454 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.934, allocations: 47.97 kB / 0.6455 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.9375, allocations: 0.551 MB / 0.646 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.9375, allocations: 8 kB / 0.646 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006395/0.9382, allocations: 0.6109 MB / 0.6466 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9382, allocations: 0 / 0.6466 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.9391, allocations: 0.5006 MB / 0.6471 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.9394, allocations: 172.2 kB / 0.6473 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.9395, allocations: 8 kB / 0.6473 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.9399, allocations: 27.98 kB / 0.6473 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.94, allocations: 31.84 kB / 0.6474 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.94, allocations: 19.98 kB / 0.6474 GB, free: 12.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006371/0.9407, allocations: 438.8 kB / 0.6478 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9407, allocations: 0 / 0.6478 GB, free: 11.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001432/0.9421, allocations: 379.7 kB / 0.6482 GB, free: 11.38 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.001356/0.9435, allocations: 0.5166 MB / 0.6487 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008286/0.9443, allocations: 377.6 kB / 0.649 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9444, allocations: 4 kB / 0.649 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.9447, allocations: 159.8 kB / 0.6492 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.9469, allocations: 390.2 kB / 0.6495 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.9487, allocations: 1.189 MB / 0.6507 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.9493, allocations: 0.8638 MB / 0.6515 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.9497, allocations: 99.41 kB / 0.6516 GB, free: 7.719 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.9497, allocations: 0 / 0.6516 GB, free: 7.719 MB / 462.1 MB Notification: Performance of Templates: time 0.02697/0.9767, allocations: 16.74 MB / 0.668 GB, free: 6.988 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.BendCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.o] Error 1