Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 96.95 kB / 16.96 MB, free: 5.582 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.0008621/0.0008621, allocations: 187 kB / 17.85 MB, free: 5.262 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.907/1.907, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3999/0.3999, allocations: 48.77 MB / 321.1 MB, free: 11.22 MB / 270.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.0005586/0.0005587, allocations: 16.28 kB / 391.8 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1524, allocations: 60.26 MB / 452.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.04376/0.1962, allocations: 39.08 MB / 491.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.2094, allocations: 9.243 MB / 0.4887 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.21, allocations: 11.94 kB / 0.4887 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007507/0.2108, allocations: 182.8 kB / 0.4888 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.2116, allocations: 298 kB / 0.4891 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.2257, allocations: 3.616 MB / 0.4927 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2272, allocations: 0.8557 MB / 0.4935 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.2276, allocations: 190 kB / 0.4937 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.228, allocations: 243 kB / 0.4939 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.2285, allocations: 282.8 kB / 0.4942 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.2285, allocations: 16 kB / 0.4942 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.2423, allocations: 5.911 MB / 0.5 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2425, allocations: 63.69 kB / 0.5 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.2428, allocations: 113.5 kB / 0.5001 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.2496, allocations: 2.499 MB / 0.5026 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.2496, allocations: 3.984 kB / 0.5026 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.2496, allocations: 0 / 0.5026 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.2497, allocations: 8 kB / 0.5026 GB, free: 10.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.004118/0.2538, allocations: 1.099 MB / 0.5037 GB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.2538, allocations: 8.031 kB / 0.5037 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.2541, allocations: 83.25 kB / 0.5037 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.2546, allocations: 365 kB / 0.5041 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2547, allocations: 20.66 kB / 0.5041 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.2547, allocations: 28 kB / 0.5041 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.2556, allocations: 385 kB / 0.5045 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2556, allocations: 4 kB / 0.5045 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2556, allocations: 12 kB / 0.5045 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2556, allocations: 8 kB / 0.5045 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.2563, allocations: 273.9 kB / 0.5048 GB, free: 8.41 MB / 398.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.00241/0.2587, allocations: 2.031 MB / 0.5068 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.2592, allocations: 162.4 kB / 0.5069 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.2594, allocations: 92.81 kB / 0.507 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4181/0.6774, allocations: 32.28 MB / 0.5385 GB, free: 60.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.6775, allocations: 32.33 kB / 0.5386 GB, free: 60.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 3.757e-06/0.6776, allocations: 0 / 0.5386 GB, free: 60.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002697/0.6803, allocations: 0.5985 MB / 0.5392 GB, free: 60.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6803, allocations: 55.5 kB / 0.5392 GB, free: 60.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.681, allocations: 394.5 kB / 0.5396 GB, free: 60.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.681, allocations: 30.27 kB / 0.5396 GB, free: 60.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.6812, allocations: 219.9 kB / 0.5398 GB, free: 60.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.6813, allocations: 52.72 kB / 0.5399 GB, free: 60.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.6813, allocations: 1.281 kB / 0.5399 GB, free: 60.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6815, allocations: 353.1 kB / 0.5402 GB, free: 60.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6816, allocations: 67.25 kB / 0.5403 GB, free: 60.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.6818, allocations: 106.5 kB / 0.5404 GB, free: 60.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.6821, allocations: 74.83 kB / 0.5405 GB, free: 60.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6821, allocations: 4.781 kB / 0.5405 GB, free: 60.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006783/0.6828, allocations: 293 kB / 0.5407 GB, free: 60.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.6829, allocations: 124.6 kB / 0.5409 GB, free: 59.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6829, allocations: 1.594 kB / 0.5409 GB, free: 59.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.6846, allocations: 238.8 kB / 0.5411 GB, free: 59.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.6849, allocations: 54.5 kB / 0.5411 GB, free: 59.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008215/0.6857, allocations: 0.6466 MB / 0.5418 GB, free: 59.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.6861, allocations: 45.16 kB / 0.5418 GB, free: 59.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.6862, allocations: 12.91 kB / 0.5418 GB, free: 59.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.6862, allocations: 5.688 kB / 0.5418 GB, free: 59.33 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007228/0.6869, allocations: 238.4 kB / 0.5421 GB, free: 59.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.687, allocations: 1.344 kB / 0.5421 GB, free: 59.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.6873, allocations: 71.22 kB / 0.5421 GB, free: 59.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.6876, allocations: 71.03 kB / 0.5422 GB, free: 59.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.6891, allocations: 1.462 MB / 0.5436 GB, free: 58.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.6895, allocations: 40.58 kB / 0.5437 GB, free: 58.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.6895, allocations: 6.156 kB / 0.5437 GB, free: 58.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.6898, allocations: 222.7 kB / 0.5439 GB, free: 57.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.6899, allocations: 39.69 kB / 0.5439 GB, free: 57.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6916, allocations: 0.9262 MB / 0.5448 GB, free: 57.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.6916, allocations: 12.2 kB / 0.5448 GB, free: 57.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.6916, allocations: 0 / 0.5448 GB, free: 57.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6916, allocations: 5.406 kB / 0.5448 GB, free: 57.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.6924, allocations: 0.5414 MB / 0.5454 GB, free: 57.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6924, allocations: 1.469 kB / 0.5454 GB, free: 57.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.6925, allocations: 22.91 kB / 0.5454 GB, free: 57.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.6948, allocations: 0.8678 MB / 0.5462 GB, free: 57.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.6948, allocations: 5.125 kB / 0.5462 GB, free: 57.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.6959, allocations: 1.084 MB / 0.5473 GB, free: 56.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6959, allocations: 0 / 0.5473 GB, free: 56.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.6972, allocations: 0.7943 MB / 0.5481 GB, free: 56.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.6974, allocations: 157.1 kB / 0.5482 GB, free: 56.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.6974, allocations: 6.125 kB / 0.5482 GB, free: 56.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.6977, allocations: 23.23 kB / 0.5483 GB, free: 56.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.6978, allocations: 20.67 kB / 0.5483 GB, free: 56.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.6978, allocations: 4.344 kB / 0.5483 GB, free: 56.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004446/0.6982, allocations: 338.9 kB / 0.5486 GB, free: 56.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6982, allocations: 0 / 0.5486 GB, free: 56.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004551/0.7028, allocations: 0.9515 MB / 0.5495 GB, free: 56.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: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004791/0.7076, allocations: 0.9589 MB / 0.5505 GB, free: 56.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.7094, allocations: 492.5 kB / 0.5509 GB, free: 56.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7094, allocations: 3.844 kB / 0.5509 GB, free: 56.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.7098, allocations: 202.9 kB / 0.5511 GB, free: 56.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7112, allocations: 217.8 kB / 0.5513 GB, free: 56.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.7129, allocations: 1.081 MB / 0.5524 GB, free: 55.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.7134, allocations: 0.8452 MB / 0.5532 GB, free: 54.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.7135, allocations: 26.31 kB / 0.5532 GB, free: 54.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.164e-06/0.7135, allocations: 4 kB / 0.5533 GB, free: 54.83 MB / 414.1 MB Notification: Performance of Templates: time 0.04132/0.7548, allocations: 22.01 MB / 0.5747 GB, free: 39.58 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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 OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlowCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlowCalcHelperMain.o] Error 1