Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.TestValveDiscrete,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.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,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.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 104.6 kB / 16.52 MB, free: 6.262 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.001243/0.001243, 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.879/1.879, 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.2589/0.2589, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.001518/0.001519, allocations: 70.05 kB / 382.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1521, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03347/0.1856, allocations: 28.97 MB / 469.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.2063, allocations: 14.27 MB / 483.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.2068, allocations: 11.88 kB / 483.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009319/0.2078, allocations: 222.9 kB / 483.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.219, allocations: 2.923 MB / 486.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00772/0.2267, allocations: 1.965 MB / 488.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.2283, allocations: 1.138 MB / 490 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.2287, allocations: 204.8 kB / 490.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.2296, allocations: 402.2 kB / 490.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.2299, allocations: 270.8 kB / 490.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.23, allocations: 20 kB / 490.8 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.2466, allocations: 7.114 MB / 498 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.2468, allocations: 87.59 kB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.2472, allocations: 203.1 kB / 498.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.255, allocations: 3.006 MB / 0.4895 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.255, allocations: 0 / 0.4895 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.255, allocations: 0 / 0.4895 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.255, allocations: 0 / 0.4895 GB, free: 10.58 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.005036/0.2601, allocations: 1.231 MB / 0.4907 GB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.2602, allocations: 16.02 kB / 0.4907 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.262, allocations: 204.2 kB / 0.4909 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.2627, allocations: 367.3 kB / 0.4913 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.2628, allocations: 25.03 kB / 0.4913 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2628, allocations: 28.38 kB / 0.4913 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.2646, allocations: 0.5939 MB / 0.4919 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2647, allocations: 0 / 0.4919 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.2647, allocations: 20 kB / 0.4919 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2648, allocations: 4 kB / 0.4919 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.2665, allocations: 0.525 MB / 0.4924 GB, free: 7.449 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.004623/0.2711, allocations: 2.625 MB / 0.495 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2729, allocations: 454.2 kB / 0.4954 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.2734, allocations: 197.8 kB / 0.4956 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05227/0.3257, allocations: 24.21 MB / 0.5193 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/0.3258, allocations: 34.56 kB / 0.5193 GB, free: 8.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 3.115e-06/0.3258, allocations: 0 / 0.5193 GB, free: 8.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.002983/0.3288, allocations: 0.7934 MB / 0.5201 GB, free: 7.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.3289, allocations: 106.8 kB / 0.5202 GB, free: 7.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.3293, allocations: 312.5 kB / 0.5205 GB, free: 7.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3293, allocations: 33.64 kB / 0.5205 GB, free: 7.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.3295, allocations: 212.2 kB / 0.5207 GB, free: 7.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.3296, allocations: 82.73 kB / 0.5208 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3298, allocations: 69.69 kB / 0.5209 GB, free: 7.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.33, allocations: 346.8 kB / 0.5212 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.3304, allocations: 139.9 kB / 0.5213 GB, free: 6.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.3308, allocations: 227 kB / 0.5215 GB, free: 6.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.3316, allocations: 357.1 kB / 0.5219 GB, free: 6.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3317, allocations: 0 / 0.5219 GB, free: 6.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009743/0.3326, allocations: 429.7 kB / 0.5223 GB, free: 5.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3327, allocations: 4 kB / 0.5223 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3327, allocations: 4 kB / 0.5223 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.3327, allocations: 7.938 kB / 0.5223 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.333, allocations: 79.88 kB / 0.5224 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3331, allocations: 7.938 kB / 0.5224 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3334, allocations: 55.97 kB / 0.5224 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.3335, allocations: 16 kB / 0.5224 GB, free: 5.414 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: 5 (Opening.y,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.0002406/0.3337, allocations: 169.6 kB / 0.5226 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.3338, allocations: 35.53 kB / 0.5226 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.3365, allocations: 1.897 MB / 0.5245 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/0.3365, allocations: 35.88 kB / 0.5245 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3365, allocations: 7.938 kB / 0.5245 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3365, allocations: 0 / 0.5245 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3378, allocations: 1.015 MB / 0.5255 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3378, allocations: 0 / 0.5255 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.3381, allocations: 67.88 kB / 0.5256 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3382, allocations: 4 kB / 0.5256 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.3382, allocations: 11.98 kB / 0.5256 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.3382, allocations: 7.938 kB / 0.5256 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3382, allocations: 4 kB / 0.5256 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3397, allocations: 1.08 MB / 0.5267 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.3399, allocations: 167.9 kB / 0.5268 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.34, allocations: 23.75 kB / 0.5269 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.3403, allocations: 35.84 kB / 0.5269 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3404, allocations: 35.89 kB / 0.5269 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3405, allocations: 15.98 kB / 0.5269 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004293/0.3409, allocations: 327.1 kB / 0.5273 GB, free: 392 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 0 / 0.5273 GB, free: 392 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.3247/0.6657, allocations: 0.9881 MB / 0.5282 GB, free: 94.38 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: 19 ($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,Opening.y) * 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.005588/0.6713, allocations: 1.157 MB / 0.5293 GB, free: 94.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.673, allocations: 0.5914 MB / 0.5299 GB, free: 94.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.673, allocations: 0 / 0.5299 GB, free: 94.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.674, allocations: 0.5183 MB / 0.5304 GB, free: 94.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.6755, allocations: 192.4 kB / 0.5306 GB, free: 94.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.6791, allocations: 1.887 MB / 0.5325 GB, free: 93.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.6799, allocations: 0.9598 MB / 0.5334 GB, free: 92.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6801, allocations: 43.97 kB / 0.5334 GB, free: 92.7 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6801, allocations: 0 / 0.5334 GB, free: 92.7 MB / 414.1 MB Notification: Performance of Templates: time 0.05395/0.7341, allocations: 24 MB / 0.5569 GB, free: 78.29 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.TestValveDiscreteCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscreteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscreteCalcHelperMain.o] Error 1