Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008175/0.0008178, 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.0009035/0.0009035, 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.523/1.523, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 11.98 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1621, allocations: 63.46 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01316/0.1753, allocations: 11.78 MB / 493.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008195/0.1836, allocations: 5.17 MB / 499.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006651/0.1843, allocations: 19.81 kB / 499.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.1849, allocations: 155 kB / 499.2 MB, free: 4.238 MB / 366.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. Notification: Performance of NFTyping.typeBindings: time 0.001706/0.1867, allocations: 0.6372 MB / 499.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.1901, allocations: 1.186 MB / 0.4893 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.1918, allocations: 1.438 MB / 0.4907 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.1922, allocations: 257.5 kB / 0.491 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.193, allocations: 462.3 kB / 0.4914 GB, free: 276 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006462/0.1936, allocations: 446.4 kB / 0.4918 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.1937, allocations: 23.94 kB / 0.4919 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.1955, allocations: 0.9555 MB / 0.4928 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1957, allocations: 147.4 kB / 0.4929 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1958, allocations: 121.5 kB / 0.4931 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.197, allocations: 0.9202 MB / 0.494 GB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.197, allocations: 0 / 0.494 GB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.197, allocations: 0 / 0.494 GB, free: 13.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.197, allocations: 0 / 0.494 GB, free: 13.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001618/0.1986, allocations: 0.8508 MB / 0.4948 GB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1987, allocations: 8.031 kB / 0.4948 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.1989, allocations: 67.3 kB / 0.4949 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.1996, allocations: 429.4 kB / 0.4953 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1996, allocations: 24.56 kB / 0.4953 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1997, allocations: 27.98 kB / 0.4953 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008138/0.2005, allocations: 0.5185 MB / 0.4958 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2005, allocations: 3.938 kB / 0.4958 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.2006, allocations: 12 kB / 0.4958 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.2006, allocations: 32.53 kB / 0.4959 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.2013, allocations: 465.9 kB / 0.4963 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.2045, allocations: 2.257 MB / 0.4985 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.2049, allocations: 238.6 kB / 0.4987 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2051, allocations: 128.8 kB / 0.4989 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.2063, allocations: 1.025 MB / 0.4999 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.2067, allocations: 216.4 kB / 0.5001 GB, free: 6.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2067, allocations: 0 / 0.5001 GB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000692/0.2074, allocations: 380.9 kB / 0.5004 GB, free: 6.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.2075, allocations: 243.3 kB / 0.5007 GB, free: 6.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.2082, allocations: 0.5174 MB / 0.5012 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.2082, allocations: 29.7 kB / 0.5012 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.2085, allocations: 291.1 kB / 0.5015 GB, free: 5.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.2085, allocations: 59.2 kB / 0.5015 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2086, allocations: 8 kB / 0.5015 GB, free: 5.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2088, allocations: 358.8 kB / 0.5019 GB, free: 5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.209, allocations: 124.4 kB / 0.502 GB, free: 4.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.2094, allocations: 304.8 kB / 0.5023 GB, free: 4.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.2097, allocations: 218.5 kB / 0.5025 GB, free: 4.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2097, allocations: 0 / 0.5025 GB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007769/0.2105, allocations: 0.5201 MB / 0.503 GB, free: 3.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.2107, allocations: 255.3 kB / 0.5033 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2107, allocations: 4 kB / 0.5033 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2107, allocations: 11.94 kB / 0.5033 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.211, allocations: 75.84 kB / 0.5033 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.2111, allocations: 7.984 kB / 0.5033 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.2114, allocations: 63.44 kB / 0.5034 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.2115, allocations: 27.92 kB / 0.5034 GB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.2115, allocations: 4 kB / 0.5034 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006796/0.2122, allocations: 485.1 kB / 0.5039 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2122, allocations: 8.062 kB / 0.5039 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.2122, allocations: 8 kB / 0.5039 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.2125, allocations: 75.91 kB / 0.504 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2125, allocations: 7.938 kB / 0.504 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.2128, allocations: 48.02 kB / 0.504 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.2128, allocations: 24 kB / 0.5041 GB, free: 2.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.2131, allocations: 298.7 kB / 0.5044 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.2132, allocations: 55.39 kB / 0.5044 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/0.2138, allocations: 372.1 kB / 0.5048 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2138, allocations: 4 kB / 0.5048 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2138, allocations: 4 kB / 0.5048 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2139, allocations: 3.984 kB / 0.5048 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.2143, allocations: 413.2 kB / 0.5052 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2143, allocations: 0 / 0.5052 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2144, allocations: 20 kB / 0.5052 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2144, allocations: 0 / 0.5052 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.2145, allocations: 15.94 kB / 0.5052 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2145, allocations: 0 / 0.5052 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2145, allocations: 0 / 0.5052 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.215, allocations: 365.2 kB / 0.5055 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.2151, allocations: 132.4 kB / 0.5057 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.2152, allocations: 11.95 kB / 0.5057 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2154, allocations: 16 kB / 0.5057 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2155, allocations: 7.984 kB / 0.5057 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.2155, allocations: 15.98 kB / 0.5057 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004173/0.2159, allocations: 362.8 kB / 0.5061 GB, free: 428 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.216, allocations: 7.938 kB / 0.5061 GB, free: 420 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.391/0.6069, allocations: 435.7 kB / 0.5065 GB, free: 42.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/0.6093, allocations: 396.7 kB / 0.5069 GB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.6109, allocations: 0.6652 MB / 0.5075 GB, free: 41.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.611, allocations: 1.688 kB / 0.5075 GB, free: 41.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.6113, allocations: 189.5 kB / 0.5077 GB, free: 41.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6126, allocations: 188.3 kB / 0.5079 GB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6145, allocations: 0.996 MB / 0.5089 GB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.615, allocations: 0.8451 MB / 0.5097 GB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.6152, allocations: 43.2 kB / 0.5097 GB, free: 40.58 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6152, allocations: 0.5469 kB / 0.5097 GB, free: 40.58 MB / 382.1 MB Notification: Performance of Templates: time 0.03167/0.6468, allocations: 10.09 MB / 0.5196 GB, free: 38.09 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Pipes.StaticPipeCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipeCalcHelperMain.o] Error 1