Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000705/0.000705, allocations: 92.34 kB / 17.31 MB, free: 5.59 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.0007129/0.0007131, allocations: 184.6 kB / 18.21 MB, free: 5.191 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.322/1.322, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2262/0.2262, allocations: 48.79 MB / 321.5 MB, free: 11.11 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.000498/0.000498, allocations: 21.53 kB / 392.5 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08816, allocations: 60.26 MB / 452.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.05608/0.1443, allocations: 70.65 MB / 0.5111 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1574, allocations: 12.51 MB / 0.5233 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.1581, allocations: 19.88 kB / 0.5233 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009061/0.159, allocations: 350 kB / 0.5237 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008725/0.1599, allocations: 497 kB / 0.5242 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.1717, allocations: 4.524 MB / 0.5286 GB, free: 360 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1905/0.3622, allocations: 1.807 MB / 0.5303 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009775/0.3632, allocations: 0.4897 MB / 0.5308 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.3643, allocations: 476.1 kB / 0.5313 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3655, allocations: 0.5744 MB / 0.5318 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.3657, allocations: 40.45 kB / 0.5319 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.3774, allocations: 6.409 MB / 0.5381 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.3777, allocations: 133.8 kB / 0.5383 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007158/0.3784, allocations: 436.3 kB / 0.5387 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004603/0.383, allocations: 2.904 MB / 0.5415 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.383, allocations: 1.062 kB / 0.5415 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.383, allocations: 0 / 0.5415 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.383, allocations: 6.344 kB / 0.5415 GB, free: 10.61 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00514/0.3882, allocations: 1.658 MB / 0.5431 GB, free: 9.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3882, allocations: 12.5 kB / 0.5431 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.3886, allocations: 131.5 kB / 0.5433 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.3893, allocations: 0.5492 MB / 0.5438 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.3893, allocations: 43.39 kB / 0.5438 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.3894, allocations: 50.03 kB / 0.5439 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.391, allocations: 0.8578 MB / 0.5447 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3911, allocations: 3.422 kB / 0.5447 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.3911, allocations: 21.16 kB / 0.5448 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3912, allocations: 12.94 kB / 0.5448 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.393, allocations: 0.8659 MB / 0.5456 GB, free: 9.348 MB / 414.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.002831/0.3958, allocations: 3.546 MB / 0.5491 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.3968, allocations: 432.6 kB / 0.5495 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.3972, allocations: 220.2 kB / 0.5497 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05501/0.4523, allocations: 32.3 MB / 0.5812 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4523, allocations: 33.44 kB / 0.5813 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006087/0.4529, allocations: 111 kB / 0.5814 GB, free: 15.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.344e-06/0.4529, allocations: 0 / 0.5814 GB, free: 15.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007718/0.4607, allocations: 1.867 MB / 0.5832 GB, free: 14.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.4607, allocations: 54.81 kB / 0.5833 GB, free: 14.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.4613, allocations: 0.6248 MB / 0.5839 GB, free: 14.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.4614, allocations: 31.77 kB / 0.5839 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.4616, allocations: 335.8 kB / 0.5842 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.4616, allocations: 105.9 kB / 0.5843 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.4617, allocations: 41.61 kB / 0.5844 GB, free: 14.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.4618, allocations: 320.6 kB / 0.5847 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.4622, allocations: 169.6 kB / 0.5848 GB, free: 14.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.4625, allocations: 234.1 kB / 0.585 GB, free: 13.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.4633, allocations: 410.6 kB / 0.5854 GB, free: 13.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4633, allocations: 0 / 0.5854 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001248/0.4646, allocations: 0.6647 MB / 0.5861 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.4647, allocations: 131.1 kB / 0.5862 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4647, allocations: 6.812 kB / 0.5862 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007435/0.4721, allocations: 1.197 MB / 0.5874 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.4723, allocations: 56.91 kB / 0.5874 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.4739, allocations: 0.9635 MB / 0.5884 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.4746, allocations: 57.23 kB / 0.5884 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.4747, allocations: 17.64 kB / 0.5885 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.096e-06/0.4747, allocations: 7.125 kB / 0.5885 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/0.4757, allocations: 464.6 kB / 0.5889 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4757, allocations: 0 / 0.5889 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.476, allocations: 70.19 kB / 0.589 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.4763, allocations: 96.23 kB / 0.5891 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.4776, allocations: 1.455 MB / 0.5905 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.4781, allocations: 47.38 kB / 0.5905 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.4782, allocations: 23.98 kB / 0.5906 GB, free: 10.95 MB / 446.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: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.4784, allocations: 246.8 kB / 0.5908 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.4785, allocations: 74.97 kB / 0.5909 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.4809, allocations: 2.068 MB / 0.5929 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.4809, allocations: 21.22 kB / 0.5929 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.4809, allocations: 0 / 0.5929 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4809, allocations: 7.922 kB / 0.5929 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.4818, allocations: 0.9421 MB / 0.5938 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4818, allocations: 0 / 0.5938 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.482, allocations: 47.91 kB / 0.5939 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/0.4871, allocations: 2.776 MB / 0.5966 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.4872, allocations: 11.48 kB / 0.5966 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.489, allocations: 2.068 MB / 0.5986 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.489, allocations: 4 kB / 0.5986 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.491, allocations: 1.784 MB / 0.6004 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.4912, allocations: 179.6 kB / 0.6005 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.4913, allocations: 11.69 kB / 0.6005 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.4917, allocations: 55.86 kB / 0.6006 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.4918, allocations: 32.27 kB / 0.6006 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4918, allocations: 15.23 kB / 0.6006 GB, free: 3.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.4923, allocations: 443.8 kB / 0.6011 GB, free: 2.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4923, allocations: 3 kB / 0.6011 GB, free: 2.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003307/0.4956, allocations: 1.094 MB / 0.6021 GB, free: 1.777 MB / 446.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: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003395/0.499, allocations: 0.9976 MB / 0.6031 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.5014, allocations: 0.9656 MB / 0.6041 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.5014, allocations: 0 / 0.6041 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.5023, allocations: 0.4978 MB / 0.6045 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.5043, allocations: 415.4 kB / 0.6049 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.5065, allocations: 2.037 MB / 0.6069 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.507, allocations: 0.9908 MB / 0.6079 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.507, allocations: 43.42 kB / 0.6079 GB, free: 12.56 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5071, allocations: 0 / 0.6079 GB, free: 12.56 MB / 462.1 MB Notification: Performance of Templates: time 0.03336/0.5404, allocations: 27.79 MB / 0.6351 GB, free: 1.012 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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 OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValvesCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValvesCalcHelperMain.o] Error 1