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.0008998/0.0009, allocations: 92.39 kB / 16.95 MB, free: 5.938 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.0009135/0.0009136, allocations: 179 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, 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.3837/0.3837, allocations: 48.78 MB / 321.1 MB, free: 11.23 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.0005508/0.0005508, allocations: 13.22 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1412, allocations: 60.27 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03863/0.1798, allocations: 33.25 MB / 485.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1929, allocations: 8.207 MB / 493.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009439/0.1939, allocations: 15.94 kB / 493.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.1946, allocations: 143 kB / 493.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1956, allocations: 322 kB / 494 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.2081, allocations: 3.457 MB / 497.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.2095, allocations: 0.9337 MB / 498.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.2101, allocations: 304.3 kB / 498.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.2115, allocations: 0.8379 MB / 499.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.2121, allocations: 442.5 kB / 500 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.2122, allocations: 28 kB / 500 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/0.2244, allocations: 5.958 MB / 0.4941 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.2248, allocations: 87.61 kB / 0.4942 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.2252, allocations: 141.4 kB / 0.4943 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006245/0.2314, allocations: 2.686 MB / 0.4969 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2315, allocations: 4 kB / 0.4969 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2315, allocations: 0 / 0.4969 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.2315, allocations: 4 kB / 0.4969 GB, free: 0.5898 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003996/0.2355, allocations: 1.15 MB / 0.4981 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2356, allocations: 16.02 kB / 0.4981 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.236, allocations: 75.25 kB / 0.4981 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.2367, allocations: 378.5 kB / 0.4985 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2368, allocations: 62.7 kB / 0.4986 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.237, allocations: 51.98 kB / 0.4986 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2382, allocations: 0.5271 MB / 0.4991 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.2383, allocations: 7.984 kB / 0.4991 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.2383, allocations: 16 kB / 0.4991 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2383, allocations: 12 kB / 0.4992 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2393, allocations: 419.7 kB / 0.4996 GB, free: 13.78 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.003344/0.2427, allocations: 2.068 MB / 0.5016 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.2435, allocations: 342.5 kB / 0.5019 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.2438, allocations: 177.4 kB / 0.5021 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3562/0.6, allocations: 32.29 MB / 0.5336 GB, free: 80.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.6001, allocations: 38.03 kB / 0.5336 GB, free: 80.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/0.6001, allocations: 0 / 0.5336 GB, free: 80.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.004299/0.6044, allocations: 1.664 MB / 0.5353 GB, free: 79.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6045, allocations: 60.47 kB / 0.5353 GB, free: 79.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.605, allocations: 362.6 kB / 0.5357 GB, free: 79.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.6051, allocations: 34.3 kB / 0.5357 GB, free: 79.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.6053, allocations: 254 kB / 0.5359 GB, free: 79.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6054, allocations: 138 kB / 0.5361 GB, free: 79.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.6055, allocations: 10 kB / 0.5361 GB, free: 79.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6056, allocations: 354.5 kB / 0.5364 GB, free: 78.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.606, allocations: 137.5 kB / 0.5366 GB, free: 78.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.6065, allocations: 203.4 kB / 0.5367 GB, free: 78.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.607, allocations: 162.2 kB / 0.5369 GB, free: 78.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.607, allocations: 3.781 kB / 0.5369 GB, free: 78.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001263/0.6083, allocations: 480.9 kB / 0.5374 GB, free: 78.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.6084, allocations: 136.7 kB / 0.5375 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6084, allocations: 2.375 kB / 0.5375 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.609, allocations: 100.5 kB / 0.5376 GB, free: 78.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.6094, allocations: 91.22 kB / 0.5377 GB, free: 78.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006102/0.61, allocations: 0.6418 MB / 0.5383 GB, free: 78.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.6104, allocations: 40.75 kB / 0.5383 GB, free: 78.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.6105, allocations: 21.95 kB / 0.5384 GB, free: 78.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.6105, allocations: 4.281 kB / 0.5384 GB, free: 78.01 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/0.6115, allocations: 412.1 kB / 0.5388 GB, free: 77.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6115, allocations: 3.109 kB / 0.5388 GB, free: 77.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.6117, allocations: 62.97 kB / 0.5388 GB, free: 77.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.6121, allocations: 101.3 kB / 0.5389 GB, free: 77.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.614, allocations: 1.636 MB / 0.5405 GB, free: 76.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.6144, allocations: 40.2 kB / 0.5406 GB, free: 76.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.6144, allocations: 15.55 kB / 0.5406 GB, free: 76.43 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 (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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003179/0.6147, allocations: 244.7 kB / 0.5408 GB, free: 76.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6149, allocations: 51.28 kB / 0.5409 GB, free: 76.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.6164, allocations: 0.7164 MB / 0.5416 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6164, allocations: 10.22 kB / 0.5416 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.6164, allocations: 0 / 0.5416 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6164, allocations: 2.938 kB / 0.5416 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.6188, allocations: 1.422 MB / 0.543 GB, free: 75.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6188, allocations: 0.9062 kB / 0.543 GB, free: 75.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.6192, allocations: 87.55 kB / 0.543 GB, free: 75.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/0.6199, allocations: 363.5 kB / 0.5434 GB, free: 74.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.6199, allocations: 17.8 kB / 0.5434 GB, free: 74.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007098/0.6207, allocations: 0.8341 MB / 0.5442 GB, free: 74.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.6207, allocations: 3.359 kB / 0.5442 GB, free: 74.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.6224, allocations: 1.01 MB / 0.5452 GB, free: 73.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.6226, allocations: 150.1 kB / 0.5454 GB, free: 73.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.6226, allocations: 15.38 kB / 0.5454 GB, free: 73.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.6229, allocations: 38.25 kB / 0.5454 GB, free: 73.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.6231, allocations: 35.39 kB / 0.5454 GB, free: 73.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.6231, allocations: 19.16 kB / 0.5455 GB, free: 73.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.6235, allocations: 258.3 kB / 0.5457 GB, free: 73.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6235, allocations: 0 / 0.5457 GB, free: 73.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004248/0.6278, allocations: 0.9704 MB / 0.5467 GB, free: 73.38 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 (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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004366/0.6322, allocations: 0.9764 MB / 0.5476 GB, free: 73.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.6342, allocations: 0.7312 MB / 0.5483 GB, free: 72.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.6342, allocations: 5.062 kB / 0.5483 GB, free: 72.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.6348, allocations: 268.4 kB / 0.5486 GB, free: 72.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6359, allocations: 169.5 kB / 0.5487 GB, free: 72.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6382, allocations: 1.6 MB / 0.5503 GB, free: 71.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.6386, allocations: 0.8556 MB / 0.5511 GB, free: 71.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.6388, allocations: 37.22 kB / 0.5512 GB, free: 71.09 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6388, allocations: 0 / 0.5512 GB, free: 71.09 MB / 414.1 MB Notification: Performance of Templates: time 0.03433/0.6731, allocations: 22.74 MB / 0.5734 GB, free: 52.67 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.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