Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.CurvedBend,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.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007349/0.0007344, allocations: 97.22 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.0009052/0.0009052, allocations: 197.9 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.673/1.673, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.274/0.274, allocations: 45.9 MB / 344.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 8 kB / 418.7 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 63.46 MB / 482.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.527/0.6793, allocations: 167 MB / 0.6339 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006508/0.6858, allocations: 3.516 MB / 0.6373 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.6864, allocations: 23.81 kB / 0.6373 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.6873, allocations: 254.3 kB / 0.6376 GB, free: 11.73 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.004824/0.6922, allocations: 1.489 MB / 0.639 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.694, allocations: 0.5448 MB / 0.6396 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.6965, allocations: 1.738 MB / 0.6413 GB, free: 7.965 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.697, allocations: 330 kB / 0.6416 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.6981, allocations: 0.5136 MB / 0.6421 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/0.6986, allocations: 446.2 kB / 0.6425 GB, free: 6.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.6987, allocations: 28 kB / 0.6425 GB, free: 6.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.7027, allocations: 2.145 MB / 0.6446 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.7029, allocations: 135.5 kB / 0.6447 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.7031, allocations: 153.4 kB / 0.6449 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.7049, allocations: 1.175 MB / 0.646 GB, free: 3.047 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7049, allocations: 0 / 0.646 GB, free: 3.047 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7049, allocations: 0 / 0.646 GB, free: 3.047 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.7049, allocations: 0 / 0.646 GB, free: 3.047 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.001922/0.7068, allocations: 0.9474 MB / 0.647 GB, free: 2.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.7069, allocations: 8.031 kB / 0.647 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/0.7078, allocations: 143.1 kB / 0.6471 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/0.7085, allocations: 460.8 kB / 0.6475 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.7086, allocations: 33 kB / 0.6476 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.7086, allocations: 40 kB / 0.6476 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.7098, allocations: 0.5945 MB / 0.6482 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7098, allocations: 0.875 kB / 0.6482 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.7098, allocations: 24 kB / 0.6482 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.7099, allocations: 12 kB / 0.6482 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.7108, allocations: 483.6 kB / 0.6487 GB, free: 204 kB / 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.00361/0.7144, allocations: 2.659 MB / 0.6513 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.7151, allocations: 358.9 kB / 0.6516 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.7155, allocations: 173.3 kB / 0.6518 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.716, allocations: 437.8 kB / 0.6522 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.716, allocations: 46.83 kB / 0.6523 GB, free: 12.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.716, allocations: 0 / 0.6523 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001904/0.7179, allocations: 0.7382 MB / 0.653 GB, free: 11.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.7181, allocations: 140.5 kB / 0.6531 GB, free: 11.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.7186, allocations: 486 kB / 0.6536 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.7187, allocations: 33.7 kB / 0.6536 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.7189, allocations: 279.8 kB / 0.6539 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.719, allocations: 122.3 kB / 0.654 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.7191, allocations: 4 kB / 0.654 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7192, allocations: 358.8 kB / 0.6543 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.7195, allocations: 156.8 kB / 0.6545 GB, free: 9.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.72, allocations: 287.7 kB / 0.6548 GB, free: 9.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.7204, allocations: 189 kB / 0.6549 GB, free: 9.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7204, allocations: 0 / 0.6549 GB, free: 9.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001005/0.7214, allocations: 0.5521 MB / 0.6555 GB, free: 8.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7214, allocations: 8 kB / 0.6555 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7215, allocations: 7.953 kB / 0.6555 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.7229, allocations: 294.8 kB / 0.6558 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.7233, allocations: 107.9 kB / 0.6559 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004791/0.7238, allocations: 0.5991 MB / 0.6565 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.7242, allocations: 63.5 kB / 0.6565 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.7243, allocations: 47.98 kB / 0.6566 GB, free: 7.613 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.0002853/0.7246, allocations: 189.7 kB / 0.6568 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.7247, allocations: 55.34 kB / 0.6568 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.7267, allocations: 1.101 MB / 0.6579 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7268, allocations: 4 kB / 0.6579 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7268, allocations: 0 / 0.6579 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7268, allocations: 0 / 0.6579 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.7283, allocations: 1.022 MB / 0.6589 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.7283, allocations: 4 kB / 0.6589 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.7285, allocations: 56.06 kB / 0.6589 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/0.7314, allocations: 0.551 MB / 0.6595 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.7315, allocations: 8 kB / 0.6595 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004932/0.732, allocations: 0.6147 MB / 0.6601 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.732, allocations: 0 / 0.6601 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.7328, allocations: 0.5169 MB / 0.6606 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.733, allocations: 152.3 kB / 0.6607 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7332, allocations: 16.02 kB / 0.6608 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.7335, allocations: 39.97 kB / 0.6608 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.7336, allocations: 19.97 kB / 0.6608 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.7336, allocations: 16 kB / 0.6608 GB, free: 3.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004651/0.7341, allocations: 386.8 kB / 0.6612 GB, free: 2.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7341, allocations: 0 / 0.6612 GB, free: 2.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001098/0.7352, allocations: 343.5 kB / 0.6615 GB, free: 2.355 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.00107/0.7363, allocations: 444.7 kB / 0.6619 GB, free: 1.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008324/0.7371, allocations: 384.9 kB / 0.6623 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7372, allocations: 4 kB / 0.6623 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.7375, allocations: 175.8 kB / 0.6625 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7391, allocations: 297.8 kB / 0.6628 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.7409, allocations: 1.111 MB / 0.6639 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.7414, allocations: 0.8594 MB / 0.6647 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.7419, allocations: 119.4 kB / 0.6648 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.7419, allocations: 0 / 0.6648 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.02418/0.7661, allocations: 15.06 MB / 0.6795 GB, free: 15.89 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.CurvedBendCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o] Error 1