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.001733/0.001734, allocations: 101.3 kB / 16.52 MB, free: 6.266 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.00152/0.001521, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.868/1.868, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2636/0.2636, allocations: 43.52 MB / 314.2 MB, free: 0.7383 MB / 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.001445/0.001444, allocations: 62.56 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1481, allocations: 57.8 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03622/0.1843, allocations: 28.99 MB / 469.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02162/0.206, allocations: 14.27 MB / 483.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006641/0.2068, allocations: 11.88 kB / 483.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.2077, allocations: 222.8 kB / 484 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.2208, allocations: 2.911 MB / 486.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008674/0.2295, allocations: 1.981 MB / 488.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.2315, allocations: 1.138 MB / 490 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.2319, allocations: 208.7 kB / 490.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000822/0.2328, allocations: 398.3 kB / 490.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.2332, allocations: 290.7 kB / 490.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.2333, allocations: 16 kB / 490.9 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0182/0.2515, allocations: 7.11 MB / 498 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.2518, allocations: 83.72 kB / 498.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.2522, allocations: 210.9 kB / 498.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.2596, allocations: 3.002 MB / 0.4895 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.2597, allocations: 8 kB / 0.4896 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2597, allocations: 0 / 0.4896 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2597, allocations: 0 / 0.4896 GB, free: 10.52 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.004157/0.2638, allocations: 1.236 MB / 0.4908 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2639, allocations: 12.02 kB / 0.4908 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.2657, allocations: 216.2 kB / 0.491 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.2662, allocations: 363.3 kB / 0.4913 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.2663, allocations: 25.03 kB / 0.4913 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.2663, allocations: 28.38 kB / 0.4914 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.2679, allocations: 0.5938 MB / 0.492 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.268, allocations: 7.938 kB / 0.492 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.268, allocations: 16 kB / 0.492 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.268, allocations: 4 kB / 0.492 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.2697, allocations: 0.5484 MB / 0.4925 GB, free: 7.355 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.003332/0.273, allocations: 2.625 MB / 0.4951 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.2746, allocations: 466.1 kB / 0.4955 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.2751, allocations: 200.7 kB / 0.4957 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04958/0.3247, allocations: 24.21 MB / 0.5194 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.3248, allocations: 42.56 kB / 0.5194 GB, free: 8.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 2.965e-06/0.3248, allocations: 0 / 0.5194 GB, free: 8.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.003081/0.3279, allocations: 0.8292 MB / 0.5202 GB, free: 7.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.328, allocations: 106.8 kB / 0.5203 GB, free: 7.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.3284, allocations: 308.5 kB / 0.5206 GB, free: 7.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.3284, allocations: 33.7 kB / 0.5206 GB, free: 7.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3286, allocations: 200.2 kB / 0.5208 GB, free: 7.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.3287, allocations: 86.83 kB / 0.5209 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3288, allocations: 73.59 kB / 0.521 GB, free: 7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.329, allocations: 342.8 kB / 0.5213 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.3294, allocations: 151.9 kB / 0.5215 GB, free: 6.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.3299, allocations: 239 kB / 0.5217 GB, free: 6.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.3308, allocations: 377.1 kB / 0.522 GB, free: 5.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3308, allocations: 4 kB / 0.522 GB, free: 5.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001084/0.3319, allocations: 437.6 kB / 0.5225 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.332, allocations: 15.92 kB / 0.5225 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.332, allocations: 4.312 kB / 0.5225 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.332, allocations: 7.938 kB / 0.5225 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.3324, allocations: 87.88 kB / 0.5226 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3324, allocations: 4 kB / 0.5226 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.3328, allocations: 63.64 kB / 0.5226 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3328, allocations: 12 kB / 0.5226 GB, free: 5.203 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.0002231/0.3331, allocations: 165.6 kB / 0.5228 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.3332, allocations: 31.62 kB / 0.5228 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.3358, allocations: 1.928 MB / 0.5247 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/0.3358, allocations: 31.89 kB / 0.5247 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3358, allocations: 0 / 0.5247 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3358, allocations: 3.984 kB / 0.5248 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3369, allocations: 1.015 MB / 0.5257 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.337, allocations: 0 / 0.5257 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.3373, allocations: 75.86 kB / 0.5258 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3373, allocations: 4 kB / 0.5258 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.3373, allocations: 4 kB / 0.5258 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3373, allocations: 7.938 kB / 0.5258 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3374, allocations: 4 kB / 0.5258 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.3389, allocations: 1.1 MB / 0.5269 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.339, allocations: 171.8 kB / 0.5271 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.3391, allocations: 27.69 kB / 0.5271 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.3394, allocations: 39.89 kB / 0.5271 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.3395, allocations: 43.77 kB / 0.5272 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.3396, allocations: 15.98 kB / 0.5272 GB, free: 448 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003688/0.34, allocations: 327.1 kB / 0.5275 GB, free: 120 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.34, allocations: 0 / 0.5275 GB, free: 120 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.3387/0.6787, allocations: 0.987 MB / 0.5285 GB, free: 94.36 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.005269/0.684, allocations: 1.162 MB / 0.5296 GB, free: 94.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.686, allocations: 0.6078 MB / 0.5302 GB, free: 94.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.686, allocations: 0 / 0.5302 GB, free: 94.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.687, allocations: 0.528 MB / 0.5307 GB, free: 94.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.6885, allocations: 195.3 kB / 0.5309 GB, free: 94.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.6914, allocations: 1.893 MB / 0.5327 GB, free: 93.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.692, allocations: 0.966 MB / 0.5337 GB, free: 92.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.6922, allocations: 43.47 kB / 0.5337 GB, free: 92.67 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6922, allocations: 0 / 0.5337 GB, free: 92.67 MB / 414.1 MB Notification: Performance of Templates: time 0.04447/0.7367, allocations: 24.03 MB / 0.5572 GB, free: 77.97 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