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.001098/0.001099, allocations: 87.22 kB / 16.66 MB, free: 6.105 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.001559/0.001559, allocations: 180 kB / 17.57 MB, free: 5.824 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.947/1.947, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2821/0.2821, allocations: 43.6 MB / 315.6 MB, free: 424 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.0005929/0.000593, allocations: 23.2 kB / 385.2 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03543/0.1777, allocations: 28.29 MB / 472.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01975/0.1975, allocations: 14.02 MB / 486.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.1981, allocations: 15.94 kB / 486.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.1989, allocations: 218.8 kB / 486.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.2106, allocations: 2.926 MB / 489.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008649/0.2193, allocations: 1.965 MB / 491.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.2211, allocations: 1.134 MB / 492.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.2215, allocations: 212.7 kB / 492.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007908/0.2223, allocations: 394.2 kB / 493.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.2226, allocations: 266.8 kB / 493.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.2227, allocations: 16 kB / 493.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01577/0.2384, allocations: 7.114 MB / 0.4889 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2387, allocations: 83.61 kB / 0.489 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.239, allocations: 220.8 kB / 0.4892 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007916/0.247, allocations: 2.982 MB / 0.4921 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.247, allocations: 0 / 0.4921 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.247, allocations: 0 / 0.4921 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.247, allocations: 0 / 0.4921 GB, free: 9.164 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.00407/0.2511, allocations: 1.158 MB / 0.4932 GB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2512, allocations: 12.03 kB / 0.4933 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.2529, allocations: 220.2 kB / 0.4935 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.2534, allocations: 371.1 kB / 0.4938 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.2535, allocations: 25.03 kB / 0.4938 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.2536, allocations: 28.38 kB / 0.4939 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.2551, allocations: 0.6017 MB / 0.4945 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2552, allocations: 3.938 kB / 0.4945 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.2552, allocations: 12 kB / 0.4945 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2552, allocations: 12 kB / 0.4945 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.2568, allocations: 0.5641 MB / 0.495 GB, free: 6.039 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.003405/0.2603, allocations: 2.64 MB / 0.4976 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.2619, allocations: 494.2 kB / 0.4981 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.2623, allocations: 201.8 kB / 0.4983 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05172/0.3141, allocations: 24.43 MB / 0.5221 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.3142, allocations: 34.5 kB / 0.5222 GB, free: 7.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 2.635e-06/0.3142, allocations: 4 kB / 0.5222 GB, free: 7.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.003031/0.3172, allocations: 0.852 MB / 0.523 GB, free: 6.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.3173, allocations: 106.8 kB / 0.5231 GB, free: 6.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.3177, allocations: 312.5 kB / 0.5234 GB, free: 5.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.3178, allocations: 29.7 kB / 0.5234 GB, free: 5.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3179, allocations: 200.2 kB / 0.5236 GB, free: 5.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.318, allocations: 94.77 kB / 0.5237 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.3181, allocations: 33.7 kB / 0.5238 GB, free: 5.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3183, allocations: 354.7 kB / 0.5241 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.3187, allocations: 147.9 kB / 0.5242 GB, free: 4.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.3192, allocations: 255 kB / 0.5245 GB, free: 4.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.32, allocations: 385.1 kB / 0.5248 GB, free: 4.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.32, allocations: 0 / 0.5248 GB, free: 4.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001023/0.321, allocations: 449.8 kB / 0.5253 GB, free: 3.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3211, allocations: 10.19 kB / 0.5253 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3211, allocations: 0 / 0.5253 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3211, allocations: 15.92 kB / 0.5253 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.3215, allocations: 79.89 kB / 0.5254 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3215, allocations: 4 kB / 0.5254 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.3218, allocations: 75.7 kB / 0.5254 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3219, allocations: 12 kB / 0.5255 GB, free: 3.594 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.0002062/0.3221, allocations: 169.6 kB / 0.5256 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.3222, allocations: 31.62 kB / 0.5257 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.3248, allocations: 1.94 MB / 0.5275 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/0.3249, allocations: 31.89 kB / 0.5276 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3249, allocations: 0 / 0.5276 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3249, allocations: 3.984 kB / 0.5276 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.326, allocations: 1.015 MB / 0.5286 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3261, allocations: 0 / 0.5286 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.3264, allocations: 83.88 kB / 0.5287 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3264, allocations: 4 kB / 0.5287 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3264, allocations: 4 kB / 0.5287 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.3265, allocations: 7.938 kB / 0.5287 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3265, allocations: 3.938 kB / 0.5287 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3421/0.6686, allocations: 1.11 MB / 0.5298 GB, free: 92.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.6689, allocations: 216.9 kB / 0.53 GB, free: 92.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.6689, allocations: 3.875 kB / 0.53 GB, free: 92.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.6693, allocations: 49.66 kB / 0.53 GB, free: 92.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.6694, allocations: 36.17 kB / 0.53 GB, free: 92.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.6694, allocations: 8.641 kB / 0.5301 GB, free: 92.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.6699, allocations: 328.8 kB / 0.5304 GB, free: 92.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6699, allocations: 0 / 0.5304 GB, free: 92.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004062/0.6739, allocations: 0.9923 MB / 0.5313 GB, free: 92.42 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.005512/0.6795, allocations: 1.163 MB / 0.5325 GB, free: 92.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.6811, allocations: 0.6176 MB / 0.5331 GB, free: 92.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6811, allocations: 0 / 0.5331 GB, free: 92.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.6819, allocations: 0.5285 MB / 0.5336 GB, free: 92.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.6833, allocations: 206.1 kB / 0.5338 GB, free: 92.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.6861, allocations: 1.918 MB / 0.5357 GB, free: 91.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.6866, allocations: 0.9662 MB / 0.5366 GB, free: 90.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6868, allocations: 42.66 kB / 0.5366 GB, free: 90.73 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6868, allocations: 0 / 0.5366 GB, free: 90.73 MB / 414.1 MB Notification: Performance of Templates: time 0.04512/0.7319, allocations: 23.93 MB / 0.56 GB, free: 75.73 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