Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.22 kB / 16.66 MB, free: 6.32 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.001219/0.001219, allocations: 175.7 kB / 17.57 MB, free: 5.945 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.917/1.917, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2714/0.2714, allocations: 43.6 MB / 315.6 MB, free: 416 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.0005568/0.0005568, allocations: 17.98 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.147, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0326/0.1797, allocations: 28.3 MB / 472.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.021/0.2008, allocations: 14.04 MB / 486.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.2013, allocations: 7.938 kB / 486.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.2023, allocations: 218.8 kB / 486.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.2145, allocations: 2.919 MB / 489.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007875/0.2224, allocations: 1.97 MB / 491.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.2242, allocations: 1.146 MB / 492.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.2247, allocations: 212.8 kB / 492.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008908/0.2256, allocations: 398.2 kB / 493.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.226, allocations: 274.8 kB / 493.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.226, allocations: 16 kB / 493.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/0.2435, allocations: 7.11 MB / 0.489 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.2438, allocations: 83.66 kB / 0.489 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.2442, allocations: 232.6 kB / 0.4893 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007991/0.2522, allocations: 2.974 MB / 0.4922 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2523, allocations: 0 / 0.4922 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.2523, allocations: 0 / 0.4922 GB, free: 9.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2523, allocations: 0 / 0.4922 GB, free: 9.109 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004339/0.2566, allocations: 1.181 MB / 0.4933 GB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.2567, allocations: 8.031 kB / 0.4933 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.2584, allocations: 220.3 kB / 0.4935 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.259, allocations: 367.2 kB / 0.4939 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.2591, allocations: 25.03 kB / 0.4939 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.2591, allocations: 28.38 kB / 0.4939 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.2608, allocations: 0.6212 MB / 0.4945 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2609, allocations: 4 kB / 0.4945 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.2609, allocations: 12 kB / 0.4946 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2609, allocations: 8 kB / 0.4946 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.2627, allocations: 0.5953 MB / 0.4951 GB, free: 5.922 MB / 382.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.003626/0.2663, allocations: 2.636 MB / 0.4977 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.2681, allocations: 0.5021 MB / 0.4982 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.2686, allocations: 216.7 kB / 0.4984 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05377/0.3224, allocations: 24.42 MB / 0.5223 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.42e-05/0.3225, allocations: 38.56 kB / 0.5223 GB, free: 6.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 5.26e-06/0.3225, allocations: 4 kB / 0.5223 GB, free: 6.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.003254/0.3258, allocations: 0.8956 MB / 0.5232 GB, free: 6.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3259, allocations: 110.8 kB / 0.5233 GB, free: 5.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.3264, allocations: 316.4 kB / 0.5236 GB, free: 5.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.3265, allocations: 33.7 kB / 0.5236 GB, free: 5.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.3267, allocations: 196.3 kB / 0.5238 GB, free: 5.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.3268, allocations: 82.75 kB / 0.5239 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.3268, allocations: 33.7 kB / 0.5239 GB, free: 5.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.327, allocations: 346.8 kB / 0.5243 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.3275, allocations: 163.8 kB / 0.5244 GB, free: 4.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.3281, allocations: 271 kB / 0.5247 GB, free: 4.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.329, allocations: 409.1 kB / 0.5251 GB, free: 4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.329, allocations: 0 / 0.5251 GB, free: 4 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001154/0.3302, allocations: 485.6 kB / 0.5255 GB, free: 3.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3302, allocations: 5.719 kB / 0.5255 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3303, allocations: 4.312 kB / 0.5255 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.3303, allocations: 11.94 kB / 0.5255 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.3307, allocations: 99.88 kB / 0.5256 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.3307, allocations: 7.984 kB / 0.5256 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.3311, allocations: 71.58 kB / 0.5257 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3311, allocations: 16 kB / 0.5257 GB, free: 3.309 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.3314, allocations: 165.6 kB / 0.5259 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.3315, allocations: 35.62 kB / 0.5259 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.3343, allocations: 1.967 MB / 0.5278 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.3344, allocations: 35.88 kB / 0.5279 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3344, allocations: 0 / 0.5279 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3344, allocations: 0 / 0.5279 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.3355, allocations: 1.012 MB / 0.5289 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3356, allocations: 4 kB / 0.5289 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3665/0.702, allocations: 86.42 kB / 0.5289 GB, free: 92.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.7021, allocations: 2.438 kB / 0.5289 GB, free: 92.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.7022, allocations: 9.625 kB / 0.529 GB, free: 92.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.7022, allocations: 5.688 kB / 0.529 GB, free: 92.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7022, allocations: 0 / 0.529 GB, free: 92.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.7045, allocations: 1.141 MB / 0.5301 GB, free: 92.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.7047, allocations: 220.5 kB / 0.5303 GB, free: 92.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.7048, allocations: 9.562 kB / 0.5303 GB, free: 92.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.7051, allocations: 48.8 kB / 0.5303 GB, free: 92.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7053, allocations: 35.62 kB / 0.5304 GB, free: 92.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.7053, allocations: 12.66 kB / 0.5304 GB, free: 92.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004965/0.7058, allocations: 328 kB / 0.5307 GB, free: 92.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7058, allocations: 1.562 kB / 0.5307 GB, free: 92.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004879/0.7107, allocations: 0.9901 MB / 0.5317 GB, free: 92.44 MB / 414.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004952/0.7157, allocations: 1.177 MB / 0.5328 GB, free: 92.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.7173, allocations: 0.6452 MB / 0.5335 GB, free: 92.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7174, allocations: 0 / 0.5335 GB, free: 92.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.7183, allocations: 0.5405 MB / 0.534 GB, free: 92.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.7197, allocations: 210.3 kB / 0.5342 GB, free: 92.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.7232, allocations: 1.933 MB / 0.5361 GB, free: 91.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/0.7239, allocations: 0.9599 MB / 0.537 GB, free: 90.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.7241, allocations: 45.12 kB / 0.537 GB, free: 90.74 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.7241, allocations: 0 / 0.537 GB, free: 90.74 MB / 414.1 MB Notification: Performance of Templates: time 0.05194/0.776, allocations: 23.98 MB / 0.5605 GB, free: 75.43 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestComponents.Valves.TestValveLinearCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinearCalcHelperMain.o] Error 1