Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001836, allocations: 110.6 kB / 17.17 MB, free: 6.309 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.002382/0.002383, allocations: 198.9 kB / 18.08 MB, free: 5.414 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.083/2.083, allocations: 205.1 MB / 223.9 MB, free: 12.38 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3981/0.3981, allocations: 48.85 MB / 320.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.00142/0.00142, allocations: 64.33 kB / 390 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1557, allocations: 59.16 MB / 449.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.5128/0.6685, allocations: 108.4 MB / 0.5445 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.6874, allocations: 12.44 MB / 0.5567 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.6894, allocations: 27.12 kB / 0.5567 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.6916, allocations: 477.3 kB / 0.5571 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.6937, allocations: 0.6054 MB / 0.5577 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02002/0.7137, allocations: 4.617 MB / 0.5622 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005642/0.7194, allocations: 2.56 MB / 0.5647 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.7211, allocations: 0.5453 MB / 0.5653 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.723, allocations: 0.5752 MB / 0.5658 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.724, allocations: 0.6532 MB / 0.5665 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.7241, allocations: 47.84 kB / 0.5665 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01693/0.741, allocations: 6.374 MB / 0.5727 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.7415, allocations: 143.3 kB / 0.5729 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009403/0.7424, allocations: 415.8 kB / 0.5733 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00786/0.7503, allocations: 2.937 MB / 0.5762 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.7504, allocations: 0 / 0.5762 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7504, allocations: 0 / 0.5762 GB, free: 3.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.7504, allocations: 0 / 0.5762 GB, free: 3.059 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005643/0.756, allocations: 1.537 MB / 0.5777 GB, free: 2.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.7561, allocations: 9.125 kB / 0.5777 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.7565, allocations: 109.2 kB / 0.5778 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.7571, allocations: 483 kB / 0.5782 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.7571, allocations: 49.62 kB / 0.5783 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.7572, allocations: 64.06 kB / 0.5783 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.7588, allocations: 0.8096 MB / 0.5791 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.7589, allocations: 3.938 kB / 0.5791 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.7589, allocations: 29.19 kB / 0.5792 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.759, allocations: 16 kB / 0.5792 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.7604, allocations: 0.5873 MB / 0.5797 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.7647, allocations: 4.387 MB / 0.584 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.7662, allocations: 498.2 kB / 0.5845 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.7666, allocations: 176.9 kB / 0.5847 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06403/0.8306, allocations: 31.98 MB / 0.6159 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.8307, allocations: 42.06 kB / 0.6159 GB, free: 14.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/0.8307, allocations: 3.938 kB / 0.616 GB, free: 14.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.00255/0.8333, allocations: 0.7006 MB / 0.6166 GB, free: 13.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.8334, allocations: 81.11 kB / 0.6167 GB, free: 13.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.8341, allocations: 470 kB / 0.6172 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.8341, allocations: 31.7 kB / 0.6172 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.8344, allocations: 333.2 kB / 0.6175 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.8346, allocations: 116.4 kB / 0.6176 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.8348, allocations: 71.67 kB / 0.6177 GB, free: 12.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.835, allocations: 363.3 kB / 0.618 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.8354, allocations: 131.4 kB / 0.6182 GB, free: 12.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.8358, allocations: 208.1 kB / 0.6184 GB, free: 12.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.8365, allocations: 338.6 kB / 0.6187 GB, free: 11.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8365, allocations: 4 kB / 0.6187 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001066/0.8376, allocations: 418.5 kB / 0.6191 GB, free: 11.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.8376, allocations: 8 kB / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8377, allocations: 0 / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.8377, allocations: 7.938 kB / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.8381, allocations: 95.38 kB / 0.6192 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.8382, allocations: 7.938 kB / 0.6192 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.8388, allocations: 84.22 kB / 0.6193 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.8389, allocations: 16.81 kB / 0.6193 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004415/0.8394, allocations: 222.6 kB / 0.6195 GB, free: 11.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002819/0.8396, allocations: 183.8 kB / 0.6197 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005197/0.8402, allocations: 304.8 kB / 0.62 GB, free: 10.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.8402, allocations: 0 / 0.62 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007904/0.841, allocations: 383.7 kB / 0.6203 GB, free: 10.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.841, allocations: 4 kB / 0.6203 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.841, allocations: 4 kB / 0.6203 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.841, allocations: 4 kB / 0.6204 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.8414, allocations: 91.83 kB / 0.6204 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8414, allocations: 4 kB / 0.6204 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.8419, allocations: 67.64 kB / 0.6205 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.842, allocations: 19.61 kB / 0.6205 GB, free: 10.33 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.8422, allocations: 205.3 kB / 0.6207 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.8424, allocations: 55.34 kB / 0.6208 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.8447, allocations: 1.582 MB / 0.6223 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/0.8448, allocations: 27.91 kB / 0.6223 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.8448, allocations: 0 / 0.6223 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.8448, allocations: 3.984 kB / 0.6224 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.8463, allocations: 0.9728 MB / 0.6233 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8464, allocations: 0 / 0.6233 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.8467, allocations: 71.94 kB / 0.6234 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.8467, allocations: 4 kB / 0.6234 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.8468, allocations: 11.88 kB / 0.6234 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.8468, allocations: 6.688 kB / 0.6234 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8468, allocations: 0 / 0.6234 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.8483, allocations: 0.9865 MB / 0.6244 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.8487, allocations: 199.7 kB / 0.6245 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.8488, allocations: 7.938 kB / 0.6246 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.8493, allocations: 55.86 kB / 0.6246 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.8494, allocations: 43.94 kB / 0.6246 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.8494, allocations: 11.98 kB / 0.6247 GB, free: 6.203 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003834/0.8498, allocations: 322.9 kB / 0.625 GB, free: 5.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8498, allocations: 4 kB / 0.625 GB, free: 5.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004379/0.8542, allocations: 1.065 MB / 0.626 GB, free: 4.816 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006429/0.8607, allocations: 0.9823 MB / 0.627 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.8622, allocations: 0.6521 MB / 0.6276 GB, free: 3.254 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8622, allocations: 5.188 kB / 0.6276 GB, free: 3.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.8629, allocations: 421.5 kB / 0.628 GB, free: 2.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.8648, allocations: 310.7 kB / 0.6283 GB, free: 2.539 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.8689, allocations: 2.019 MB / 0.6303 GB, free: 496 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/0.8698, allocations: 0.979 MB / 0.6312 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.87, allocations: 51.42 kB / 0.6313 GB, free: 15.43 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.87, allocations: 0 / 0.6313 GB, free: 15.43 MB / 478.1 MB Notification: Performance of Templates: time 0.04856/0.9186, allocations: 23.17 MB / 0.6539 GB, free: 8.258 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoinCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinCalcHelperMain.o] Error 1