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.001022/0.001022, allocations: 95.53 kB / 16.33 MB, free: 5.938 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.001097/0.001097, allocations: 186.8 kB / 17.22 MB, free: 5.883 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.549/1.549, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3699/0.3699, allocations: 43.54 MB / 315.2 MB, free: 8.879 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.0007518/0.0007519, allocations: 14.97 kB / 384.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.129, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2741/0.4031, allocations: 26.16 MB / 469.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.4157, allocations: 12.39 MB / 482 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.4162, allocations: 14.22 kB / 482 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.4169, allocations: 204.1 kB / 482.2 MB, free: 27.59 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008586/0.4255, allocations: 2.841 MB / 485 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006313/0.4319, allocations: 1.827 MB / 486.8 MB, free: 25.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.433, allocations: 0.9926 MB / 487.8 MB, free: 25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.4334, allocations: 200.7 kB / 488 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.434, allocations: 384.3 kB / 488.4 MB, free: 24.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.4343, allocations: 264.4 kB / 488.7 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.4343, allocations: 15 kB / 488.7 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.4475, allocations: 6.813 MB / 495.5 MB, free: 23.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.4478, allocations: 82.02 kB / 495.6 MB, free: 23.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.448, allocations: 106.1 kB / 495.7 MB, free: 23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.4564, allocations: 2.953 MB / 498.6 MB, free: 22.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4565, allocations: 5 kB / 498.6 MB, free: 22.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4565, allocations: 0 / 498.6 MB, free: 22.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.4565, allocations: 0 / 498.6 MB, free: 22.43 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.006132/0.4626, allocations: 1.178 MB / 499.8 MB, free: 21.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4627, allocations: 9.938 kB / 499.8 MB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.4644, allocations: 224.2 kB / 0.4883 GB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.465, allocations: 350.5 kB / 0.4887 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.4651, allocations: 30.52 kB / 0.4887 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.4651, allocations: 30.48 kB / 0.4887 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.4668, allocations: 0.6098 MB / 0.4893 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4668, allocations: 1.562 kB / 0.4893 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.4669, allocations: 16.12 kB / 0.4893 GB, free: 21.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.4669, allocations: 7.797 kB / 0.4893 GB, free: 21.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.4686, allocations: 0.5998 MB / 0.4899 GB, free: 20.91 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.003109/0.4717, allocations: 2.639 MB / 0.4925 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.4734, allocations: 0.5025 MB / 0.493 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.4739, allocations: 227 kB / 0.4932 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04426/0.5182, allocations: 24.42 MB / 0.5171 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/0.5183, allocations: 33.97 kB / 0.5171 GB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/0.5183, allocations: 0 / 0.5171 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002961/0.5213, allocations: 0.8884 MB / 0.518 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.5214, allocations: 105.9 kB / 0.5181 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.5218, allocations: 318.4 kB / 0.5184 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5218, allocations: 29.7 kB / 0.5184 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.522, allocations: 199.7 kB / 0.5186 GB, free: 14.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.522, allocations: 85.77 kB / 0.5187 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.5221, allocations: 8 kB / 0.5187 GB, free: 14.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5222, allocations: 343.7 kB / 0.519 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.5227, allocations: 171.9 kB / 0.5192 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.5231, allocations: 254.2 kB / 0.5194 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.5236, allocations: 187.7 kB / 0.5196 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5236, allocations: 0 / 0.5196 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009948/0.5246, allocations: 483.5 kB / 0.52 GB, free: 13.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5246, allocations: 10.25 kB / 0.52 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5246, allocations: 4.062 kB / 0.5201 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5246, allocations: 4.438 kB / 0.5201 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.525, allocations: 98.88 kB / 0.5202 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.525, allocations: 2.562 kB / 0.5202 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.5254, allocations: 72.95 kB / 0.5202 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.5254, allocations: 19.83 kB / 0.5202 GB, free: 13.76 MB / 398.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 (SourceP1.medium.phase,SinkP1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.5257, allocations: 167.7 kB / 0.5204 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.5258, allocations: 31.84 kB / 0.5204 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.5285, allocations: 1.969 MB / 0.5224 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/0.5285, allocations: 31.94 kB / 0.5224 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5285, allocations: 0 / 0.5224 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5285, allocations: 4.562 kB / 0.5224 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5297, allocations: 1.018 MB / 0.5234 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5297, allocations: 0 / 0.5234 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.53, allocations: 92.36 kB / 0.5235 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.53, allocations: 8 kB / 0.5235 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.5301, allocations: 4 kB / 0.5235 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5301, allocations: 4 kB / 0.5235 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5301, allocations: 0.9375 kB / 0.5235 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.5316, allocations: 1.129 MB / 0.5246 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.5319, allocations: 223.4 kB / 0.5248 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.5319, allocations: 8 kB / 0.5248 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.5322, allocations: 47.95 kB / 0.5249 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.5323, allocations: 35.89 kB / 0.5249 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.5324, allocations: 8 kB / 0.5249 GB, free: 9.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.5328, allocations: 327.1 kB / 0.5252 GB, free: 9.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5328, allocations: 4 kB / 0.5252 GB, free: 9.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006/0.5388, allocations: 0.9993 MB / 0.5262 GB, free: 8.266 MB / 398.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 (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.006189/0.545, allocations: 1.162 MB / 0.5273 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.5464, allocations: 0.6469 MB / 0.528 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5464, allocations: 0 / 0.528 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.5471, allocations: 0.5373 MB / 0.5285 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5483, allocations: 212.6 kB / 0.5287 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5505, allocations: 1.921 MB / 0.5306 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.551, allocations: 0.9563 MB / 0.5315 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5511, allocations: 47.42 kB / 0.5315 GB, free: 2.742 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5511, allocations: 4 kB / 0.5315 GB, free: 2.738 MB / 398.1 MB Notification: Performance of Templates: time 0.0407/0.5918, allocations: 23.94 MB / 0.5549 GB, free: 10.79 MB / 430.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++ 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_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