Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000684/0.000684, allocations: 93.34 kB / 17.31 MB, free: 6.535 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.0007109/0.0007108, allocations: 182 kB / 18.21 MB, free: 5.676 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.158/1.158, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2288/0.2288, 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.0004358/0.0004358, allocations: 14.08 kB / 392.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07749/0.07793, allocations: 60.27 MB / 452.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03081/0.1088, allocations: 35.84 MB / 488.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.119, allocations: 9.368 MB / 497.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.1196, allocations: 19.88 kB / 498 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.1201, allocations: 135.1 kB / 498.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.1208, allocations: 318.2 kB / 498.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008571/0.1294, allocations: 3.618 MB / 0.4903 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009805/0.1304, allocations: 1.051 MB / 0.4913 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.1308, allocations: 334.9 kB / 0.4916 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.1315, allocations: 0.5101 MB / 0.4921 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.1319, allocations: 374.4 kB / 0.4925 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.132, allocations: 28 kB / 0.4925 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008792/0.1408, allocations: 6.177 MB / 0.4985 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.1409, allocations: 91.59 kB / 0.4986 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.1412, allocations: 308.2 kB / 0.4989 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.144, allocations: 2.705 MB / 0.5015 GB, free: 12.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.144, allocations: 0 / 0.5015 GB, free: 12.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.144, allocations: 0 / 0.5015 GB, free: 12.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.144, allocations: 0 / 0.5015 GB, free: 12.14 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002307/0.1463, allocations: 1.158 MB / 0.5027 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1464, allocations: 8.031 kB / 0.5027 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.1466, allocations: 76.17 kB / 0.5027 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.147, allocations: 387.5 kB / 0.5031 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.1471, allocations: 71.25 kB / 0.5032 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.1472, allocations: 52.12 kB / 0.5032 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.1481, allocations: 0.5271 MB / 0.5037 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1481, allocations: 4 kB / 0.5037 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1482, allocations: 20 kB / 0.5038 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1482, allocations: 12 kB / 0.5038 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.149, allocations: 423.7 kB / 0.5042 GB, free: 9.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.002208/0.1512, allocations: 2.06 MB / 0.5062 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.1519, allocations: 342.6 kB / 0.5065 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.1522, allocations: 180.7 kB / 0.5067 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2167/0.3689, allocations: 32.28 MB / 0.5382 GB, free: 78.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.369, allocations: 35.84 kB / 0.5383 GB, free: 78.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.369, allocations: 0 / 0.5383 GB, free: 78.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.003765/0.3728, allocations: 1.679 MB / 0.5399 GB, free: 77.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3728, allocations: 60.34 kB / 0.54 GB, free: 77.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.3733, allocations: 371.5 kB / 0.5403 GB, free: 77.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3733, allocations: 31.75 kB / 0.5403 GB, free: 77.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3735, allocations: 251.2 kB / 0.5406 GB, free: 77.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.894e-05/0.3736, allocations: 139 kB / 0.5407 GB, free: 77.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.3736, allocations: 39.66 kB / 0.5407 GB, free: 77.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.3737, allocations: 354.1 kB / 0.5411 GB, free: 76.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.3741, allocations: 145.7 kB / 0.5412 GB, free: 76.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3745, allocations: 208.8 kB / 0.5414 GB, free: 76.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.3752, allocations: 355.9 kB / 0.5418 GB, free: 76.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.3752, allocations: 4.609 kB / 0.5418 GB, free: 76.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000937/0.3761, allocations: 0.4905 MB / 0.5422 GB, free: 76.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.3762, allocations: 136.4 kB / 0.5424 GB, free: 76.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3762, allocations: 1.531 kB / 0.5424 GB, free: 76.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004582/0.3767, allocations: 110.7 kB / 0.5425 GB, free: 76.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.377, allocations: 89.59 kB / 0.5426 GB, free: 76.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004657/0.3775, allocations: 0.6392 MB / 0.5432 GB, free: 75.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3778, allocations: 36.98 kB / 0.5432 GB, free: 75.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.3778, allocations: 18.2 kB / 0.5432 GB, free: 75.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.3779, allocations: 3.5 kB / 0.5432 GB, free: 75.78 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008455/0.3787, allocations: 424.8 kB / 0.5437 GB, free: 75.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3787, allocations: 4.656 kB / 0.5437 GB, free: 75.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.3789, allocations: 59.89 kB / 0.5437 GB, free: 75.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.3792, allocations: 96.3 kB / 0.5438 GB, free: 75.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.3805, allocations: 1.637 MB / 0.5454 GB, free: 74.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.3808, allocations: 41.55 kB / 0.5454 GB, free: 74.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.3808, allocations: 14.81 kB / 0.5455 GB, free: 74.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.381, allocations: 244 kB / 0.5457 GB, free: 73.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.3811, allocations: 53.05 kB / 0.5457 GB, free: 73.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3821, allocations: 0.7182 MB / 0.5464 GB, free: 73.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3822, allocations: 4.469 kB / 0.5464 GB, free: 73.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3822, allocations: 0.9375 kB / 0.5464 GB, free: 73.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3822, allocations: 3.703 kB / 0.5464 GB, free: 73.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3839, allocations: 1.424 MB / 0.5478 GB, free: 72.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3839, allocations: 1 kB / 0.5478 GB, free: 72.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.3843, allocations: 94.25 kB / 0.5479 GB, free: 72.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.3848, allocations: 363 kB / 0.5483 GB, free: 72.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3848, allocations: 8.094 kB / 0.5483 GB, free: 72.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005248/0.3854, allocations: 0.8494 MB / 0.5491 GB, free: 71.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3854, allocations: 1.219 kB / 0.5491 GB, free: 71.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.3868, allocations: 1.016 MB / 0.5501 GB, free: 71.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3869, allocations: 150 kB / 0.5503 GB, free: 71.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.387, allocations: 16.28 kB / 0.5503 GB, free: 71.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.3873, allocations: 41.84 kB / 0.5503 GB, free: 71.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.3874, allocations: 36.02 kB / 0.5503 GB, free: 71.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.3874, allocations: 18.72 kB / 0.5504 GB, free: 71.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.3876, allocations: 258.6 kB / 0.5506 GB, free: 71.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3876, allocations: 0 / 0.5506 GB, free: 71.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002219/0.3898, allocations: 0.9698 MB / 0.5516 GB, free: 70.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/0.3928, allocations: 1.022 MB / 0.5525 GB, free: 70.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3941, allocations: 0.7393 MB / 0.5533 GB, free: 70.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3942, allocations: 0 / 0.5533 GB, free: 70.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.3946, allocations: 268.9 kB / 0.5535 GB, free: 70.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.3955, allocations: 161.9 kB / 0.5537 GB, free: 70.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3971, allocations: 1.663 MB / 0.5553 GB, free: 68.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3973, allocations: 0.8561 MB / 0.5561 GB, free: 68.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.3974, allocations: 46.8 kB / 0.5562 GB, free: 68.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3974, allocations: 0 / 0.5562 GB, free: 68.09 MB / 414.1 MB Notification: Performance of Templates: time 0.02145/0.4189, allocations: 22.78 MB / 0.5784 GB, free: 47.7 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMechCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMechCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMechCalcHelperMain.o] Error 1