Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 93.75 kB / 16.95 MB, free: 5.676 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.000846/0.000846, allocations: 184.3 kB / 17.85 MB, free: 5.32 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.919/1.919, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4201/0.4201, allocations: 48.78 MB / 321.1 MB, free: 11.3 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.0008655/0.0008657, allocations: 15.23 kB / 391.8 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1802, allocations: 60.28 MB / 452.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.0553/0.2355, allocations: 43.22 MB / 495.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.2503, allocations: 9.177 MB / 0.4926 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006661/0.2511, allocations: 7.938 kB / 0.4927 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009934/0.2521, allocations: 186.8 kB / 0.4928 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009165/0.253, allocations: 314 kB / 0.4931 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.2692, allocations: 3.585 MB / 0.4966 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.271, allocations: 0.9189 MB / 0.4975 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.2715, allocations: 185.1 kB / 0.4977 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.2719, allocations: 251 kB / 0.4979 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.2723, allocations: 282.8 kB / 0.4982 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.2724, allocations: 24 kB / 0.4982 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/0.2871, allocations: 5.895 MB / 0.504 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.2874, allocations: 55.77 kB / 0.504 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.2877, allocations: 113.5 kB / 0.5042 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.2956, allocations: 2.479 MB / 0.5066 GB, free: 6.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.502e-05/0.2957, allocations: 4 kB / 0.5066 GB, free: 6.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.2957, allocations: 0 / 0.5066 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.2957, allocations: 0 / 0.5066 GB, free: 6.695 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004663/0.3004, allocations: 1.072 MB / 0.5076 GB, free: 5.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.3005, allocations: 12.02 kB / 0.5076 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.3009, allocations: 91.39 kB / 0.5077 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.3014, allocations: 314.2 kB / 0.508 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.3015, allocations: 24.66 kB / 0.508 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.3015, allocations: 32 kB / 0.5081 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.3024, allocations: 422.1 kB / 0.5085 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3025, allocations: 0 / 0.5085 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.3025, allocations: 27.89 kB / 0.5085 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3025, allocations: 11.94 kB / 0.5085 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.3032, allocations: 286.4 kB / 0.5088 GB, free: 4.309 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.00268/0.3059, allocations: 2.201 MB / 0.5109 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.3068, allocations: 270.6 kB / 0.5112 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.307, allocations: 96.83 kB / 0.5113 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3959/0.7029, allocations: 32.28 MB / 0.5428 GB, free: 76.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.703, allocations: 43.5 kB / 0.5429 GB, free: 76.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 2.775e-06/0.703, allocations: 0 / 0.5429 GB, free: 76.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.004936/0.7079, allocations: 1.476 MB / 0.5443 GB, free: 76.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.708, allocations: 55.03 kB / 0.5444 GB, free: 75.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.7084, allocations: 319.9 kB / 0.5447 GB, free: 75.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.7085, allocations: 35.45 kB / 0.5447 GB, free: 75.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.7087, allocations: 203.7 kB / 0.5449 GB, free: 75.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.7088, allocations: 119.2 kB / 0.545 GB, free: 75.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.7088, allocations: 6.656 kB / 0.545 GB, free: 75.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.709, allocations: 347.7 kB / 0.5453 GB, free: 75.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.7093, allocations: 119.4 kB / 0.5455 GB, free: 75.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.7096, allocations: 172.8 kB / 0.5456 GB, free: 75.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.71, allocations: 134.3 kB / 0.5457 GB, free: 75.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7101, allocations: 1.031 kB / 0.5457 GB, free: 75.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009959/0.7111, allocations: 432.7 kB / 0.5462 GB, free: 75.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.7112, allocations: 141.9 kB / 0.5463 GB, free: 75.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.7112, allocations: 1.25 kB / 0.5463 GB, free: 75.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004886/0.7117, allocations: 93.48 kB / 0.5464 GB, free: 75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.712, allocations: 79.25 kB / 0.5465 GB, free: 75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007993/0.7129, allocations: 1.119 MB / 0.5476 GB, free: 73.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.7132, allocations: 38.33 kB / 0.5476 GB, free: 73.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.7132, allocations: 17.97 kB / 0.5476 GB, free: 73.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.7132, allocations: 3.125 kB / 0.5476 GB, free: 73.9 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008011/0.714, allocations: 364.5 kB / 0.548 GB, free: 73.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7141, allocations: 0.9375 kB / 0.548 GB, free: 73.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.7145, allocations: 95.42 kB / 0.548 GB, free: 73.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.7148, allocations: 75.78 kB / 0.5481 GB, free: 73.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/0.7154, allocations: 1.117 MB / 0.5492 GB, free: 72.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.7157, allocations: 30.62 kB / 0.5492 GB, free: 72.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.7158, allocations: 20.97 kB / 0.5493 GB, free: 72.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.716, allocations: 228.5 kB / 0.5495 GB, free: 72.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.7161, allocations: 46.84 kB / 0.5495 GB, free: 72.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.7181, allocations: 1.176 MB / 0.5507 GB, free: 71.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.7181, allocations: 13.48 kB / 0.5507 GB, free: 71.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.7181, allocations: 0 / 0.5507 GB, free: 71.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.7181, allocations: 0 / 0.5507 GB, free: 71.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.719, allocations: 0.6832 MB / 0.5514 GB, free: 71.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.719, allocations: 0 / 0.5514 GB, free: 71.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.7193, allocations: 63.91 kB / 0.5514 GB, free: 71.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.7199, allocations: 145 kB / 0.5516 GB, free: 71.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.7199, allocations: 7.094 kB / 0.5516 GB, free: 71.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007037/0.7206, allocations: 1.195 MB / 0.5527 GB, free: 69.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7206, allocations: 1.469 kB / 0.5527 GB, free: 69.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.7224, allocations: 1.212 MB / 0.5539 GB, free: 69.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.7226, allocations: 154.2 kB / 0.5541 GB, free: 69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.7227, allocations: 10.09 kB / 0.5541 GB, free: 69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.7229, allocations: 34.66 kB / 0.5541 GB, free: 68.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.723, allocations: 24.09 kB / 0.5541 GB, free: 68.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.7231, allocations: 11.73 kB / 0.5541 GB, free: 68.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.7234, allocations: 222.7 kB / 0.5543 GB, free: 68.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7234, allocations: 0 / 0.5543 GB, free: 68.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004617/0.728, allocations: 0.9306 MB / 0.5553 GB, free: 68.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004368/0.7324, allocations: 0.9718 MB / 0.5562 GB, free: 68.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.7343, allocations: 0.678 MB / 0.5569 GB, free: 68.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7343, allocations: 4 kB / 0.5569 GB, free: 68.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.7349, allocations: 385.3 kB / 0.5572 GB, free: 67.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.7361, allocations: 216.6 kB / 0.5574 GB, free: 67.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.7382, allocations: 1.571 MB / 0.559 GB, free: 66.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.7385, allocations: 0.8561 MB / 0.5598 GB, free: 65.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.7386, allocations: 42.39 kB / 0.5599 GB, free: 65.97 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7386, allocations: 0 / 0.5599 GB, free: 65.97 MB / 414.1 MB Notification: Performance of Templates: time 0.03505/0.7737, allocations: 23.87 MB / 0.5832 GB, free: 43.32 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2CalcHelperMain.o] Error 1