Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 94.06 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001684/0.001685, allocations: 197.5 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 8 kB / 418.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 63.47 MB / 482.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.599/0.7738, allocations: 166.7 MB / 0.6336 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.7791, allocations: 2.097 MB / 0.6357 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/0.7801, allocations: 19.81 kB / 0.6357 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.7812, allocations: 234.4 kB / 0.6359 GB, free: 13.36 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.003987/0.7852, allocations: 1.006 MB / 0.6369 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.787, allocations: 0.5367 MB / 0.6374 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.7898, allocations: 1.683 MB / 0.6391 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008476/0.7906, allocations: 337.9 kB / 0.6394 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.792, allocations: 0.4941 MB / 0.6399 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009946/0.793, allocations: 430.3 kB / 0.6403 GB, free: 8.887 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.7932, allocations: 24 kB / 0.6403 GB, free: 8.863 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.795, allocations: 0.6397 MB / 0.641 GB, free: 8.223 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.7953, allocations: 127.5 kB / 0.6411 GB, free: 8.098 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.7957, allocations: 137.4 kB / 0.6412 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.7972, allocations: 0.8594 MB / 0.642 GB, free: 7.098 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7972, allocations: 0 / 0.642 GB, free: 7.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7972, allocations: 0 / 0.642 GB, free: 7.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.7972, allocations: 0 / 0.642 GB, free: 7.098 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001726/0.799, allocations: 0.8617 MB / 0.6429 GB, free: 6.188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.799, allocations: 12.03 kB / 0.6429 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009063/0.7999, allocations: 136.2 kB / 0.643 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.8005, allocations: 432.9 kB / 0.6434 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.8006, allocations: 29 kB / 0.6435 GB, free: 5.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.8006, allocations: 44 kB / 0.6435 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.8016, allocations: 0.5477 MB / 0.644 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8017, allocations: 7.938 kB / 0.6441 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.8017, allocations: 20 kB / 0.6441 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.8017, allocations: 12 kB / 0.6441 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.8025, allocations: 427.5 kB / 0.6445 GB, free: 4.465 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.002711/0.8052, allocations: 2.577 MB / 0.647 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.8058, allocations: 286.8 kB / 0.6473 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.8061, allocations: 156.8 kB / 0.6474 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.8065, allocations: 352.4 kB / 0.6478 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.8065, allocations: 39.45 kB / 0.6478 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 4.558e-06/0.8066, allocations: 4 kB / 0.6478 GB, free: 0.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002212/0.8088, allocations: 0.7227 MB / 0.6485 GB, free: 0 / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.8089, allocations: 136.5 kB / 0.6486 GB, free: 15.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.8094, allocations: 445.9 kB / 0.6491 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.8095, allocations: 29.7 kB / 0.6491 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.8097, allocations: 267.8 kB / 0.6494 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.8098, allocations: 110.5 kB / 0.6495 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.8099, allocations: 8 kB / 0.6495 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.8101, allocations: 354.8 kB / 0.6498 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.8105, allocations: 151.9 kB / 0.6499 GB, free: 14.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.811, allocations: 279.2 kB / 0.6502 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.8115, allocations: 176.9 kB / 0.6504 GB, free: 13.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8115, allocations: 0 / 0.6504 GB, free: 13.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001335/0.8128, allocations: 0.5407 MB / 0.6509 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.8129, allocations: 12.03 kB / 0.6509 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8129, allocations: 4 kB / 0.6509 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.8148, allocations: 316.5 kB / 0.6512 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.8153, allocations: 99.88 kB / 0.6513 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008993/0.8162, allocations: 0.5991 MB / 0.6519 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.8166, allocations: 67.56 kB / 0.652 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.8167, allocations: 52.72 kB / 0.652 GB, free: 12.25 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 (41): * Single equations (assignments): 40 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002682/0.817, allocations: 181.7 kB / 0.6522 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.8171, allocations: 47.44 kB / 0.6522 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.8194, allocations: 1.039 MB / 0.6533 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8195, allocations: 4 kB / 0.6533 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8195, allocations: 0 / 0.6533 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.8195, allocations: 3.953 kB / 0.6533 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.8212, allocations: 0.9713 MB / 0.6542 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.8212, allocations: 4 kB / 0.6542 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.8215, allocations: 55.89 kB / 0.6543 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.8234, allocations: 340.5 kB / 0.6546 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.8235, allocations: 11.98 kB / 0.6546 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/0.8243, allocations: 0.603 MB / 0.6552 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/0.8243, allocations: 4.031 kB / 0.6552 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.8255, allocations: 0.5233 MB / 0.6557 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.8258, allocations: 148.3 kB / 0.6559 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.8259, allocations: 8 kB / 0.6559 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.8263, allocations: 35.97 kB / 0.6559 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.8263, allocations: 23.91 kB / 0.6559 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.8264, allocations: 23.97 kB / 0.6559 GB, free: 8.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004582/0.8268, allocations: 358.8 kB / 0.6563 GB, free: 7.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8269, allocations: 0 / 0.6563 GB, free: 7.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.8277, allocations: 215.8 kB / 0.6565 GB, free: 7.484 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0007966/0.8285, allocations: 298.3 kB / 0.6568 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.8297, allocations: 376.4 kB / 0.6571 GB, free: 6.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8297, allocations: 0 / 0.6571 GB, free: 6.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006797/0.8304, allocations: 163.8 kB / 0.6573 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.8318, allocations: 288 kB / 0.6576 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.8339, allocations: 1.093 MB / 0.6586 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.8345, allocations: 0.8473 MB / 0.6595 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.8349, allocations: 123.3 kB / 0.6596 GB, free: 4.25 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.8349, allocations: 0 / 0.6596 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Templates: time 0.02009/0.855, allocations: 12.59 MB / 0.6719 GB, free: 7.719 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRateCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRateCalcHelperMain.o] Error 1