Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 95.33 kB / 16.95 MB, free: 5.953 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.001267/0.001267, allocations: 178.1 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.02/2.02, 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.4129/0.4129, 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.0006905/0.000691, allocations: 12.38 kB / 391.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1802, allocations: 60.28 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.4637/0.6439, allocations: 98.03 MB / 0.5372 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.6625, allocations: 11.07 MB / 0.548 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.6644, allocations: 25.47 kB / 0.548 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.6665, allocations: 440.1 kB / 0.5485 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.669, allocations: 0.6963 MB / 0.5491 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02009/0.6891, allocations: 4.379 MB / 0.5534 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00516/0.6943, allocations: 2.235 MB / 0.5556 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.6959, allocations: 0.5267 MB / 0.5561 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.6979, allocations: 0.6127 MB / 0.5567 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.6991, allocations: 0.657 MB / 0.5573 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.6992, allocations: 49.22 kB / 0.5574 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01849/0.7177, allocations: 6.06 MB / 0.5633 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.7182, allocations: 147.8 kB / 0.5635 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008565/0.7191, allocations: 202.6 kB / 0.5636 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009349/0.7285, allocations: 2.933 MB / 0.5665 GB, free: 9.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7285, allocations: 0 / 0.5665 GB, free: 9.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7285, allocations: 0 / 0.5665 GB, free: 9.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.7286, allocations: 0 / 0.5665 GB, free: 9.906 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007001/0.7356, allocations: 1.753 MB / 0.5682 GB, free: 8.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.7356, allocations: 8.938 kB / 0.5682 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.736, allocations: 115.2 kB / 0.5683 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.7368, allocations: 0.5032 MB / 0.5688 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.7369, allocations: 53.52 kB / 0.5689 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.737, allocations: 64.47 kB / 0.5689 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.7391, allocations: 0.9764 MB / 0.5699 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.7391, allocations: 6.656 kB / 0.5699 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.7392, allocations: 28.06 kB / 0.5699 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.7392, allocations: 16.78 kB / 0.5699 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.7415, allocations: 0.8804 MB / 0.5708 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.7457, allocations: 4.392 MB / 0.5751 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.748, allocations: 0.8309 MB / 0.5759 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/0.7489, allocations: 351.8 kB / 0.5762 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06176/0.8106, allocations: 32.29 MB / 0.6078 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.8124, allocations: 0.5676 MB / 0.6083 GB, free: 7.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.445e-06/0.8124, allocations: 0 / 0.6083 GB, free: 7.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.003584/0.816, allocations: 1.233 MB / 0.6095 GB, free: 6.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.8161, allocations: 92.73 kB / 0.6096 GB, free: 6.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.8169, allocations: 0.5293 MB / 0.6101 GB, free: 6.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.817, allocations: 40.94 kB / 0.6102 GB, free: 5.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.8173, allocations: 352.2 kB / 0.6105 GB, free: 5.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.8175, allocations: 145.1 kB / 0.6107 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.8176, allocations: 10.62 kB / 0.6107 GB, free: 5.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.8178, allocations: 370 kB / 0.611 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/0.8187, allocations: 321.4 kB / 0.6113 GB, free: 5.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.8196, allocations: 387.7 kB / 0.6117 GB, free: 4.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/0.8205, allocations: 421.8 kB / 0.6121 GB, free: 4.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8205, allocations: 0 / 0.6121 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002257/0.8228, allocations: 0.9376 MB / 0.613 GB, free: 3.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.8231, allocations: 256.2 kB / 0.6133 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8231, allocations: 0 / 0.6133 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.8231, allocations: 8.891 kB / 0.6133 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.8238, allocations: 158.1 kB / 0.6134 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.8238, allocations: 7.984 kB / 0.6134 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.8248, allocations: 176 kB / 0.6136 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.8249, allocations: 19.88 kB / 0.6136 GB, free: 2.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.8249, allocations: 4 kB / 0.6136 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/0.8268, allocations: 0.8441 MB / 0.6144 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8268, allocations: 4 kB / 0.6144 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.8268, allocations: 4 kB / 0.6144 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.8274, allocations: 162.2 kB / 0.6146 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.8274, allocations: 11.89 kB / 0.6146 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.8282, allocations: 164.9 kB / 0.6148 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.8283, allocations: 19.88 kB / 0.6148 GB, free: 1.801 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$PRE.Sine1.T_start,Sine1.T_start,$PRE.Sine1.count,Sine1.count,$PRE.Sine2.T_start,Sine2.T_start,$PRE.Sine2.count,Sine2.count,$whenCondition2,$whenCondition1,$PRE.Sine3.T_start,Sine3.T_start,$PRE.Sine3.count,Sine3.count,$PRE.Sine4.T_start,Sine4.T_start,$PRE.Sine4.count,Sine4.count,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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000525/0.8288, allocations: 265.2 kB / 0.615 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.829, allocations: 75.14 kB / 0.6151 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.8322, allocations: 1.934 MB / 0.617 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.8323, allocations: 26.7 kB / 0.617 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.8323, allocations: 3.953 kB / 0.617 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8323, allocations: 0 / 0.617 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.8355, allocations: 2.059 MB / 0.619 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.8355, allocations: 0 / 0.619 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.8361, allocations: 142.6 kB / 0.6192 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.8361, allocations: 4 kB / 0.6192 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.8362, allocations: 11.77 kB / 0.6192 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8362, allocations: 7.938 kB / 0.6192 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8362, allocations: 4 kB / 0.6192 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.8387, allocations: 1.289 MB / 0.6205 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.8391, allocations: 222.2 kB / 0.6207 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.8392, allocations: 11.81 kB / 0.6207 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.8399, allocations: 146.9 kB / 0.6208 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.8402, allocations: 88.81 kB / 0.6209 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.8402, allocations: 18.53 kB / 0.6209 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004993/0.8407, allocations: 380.1 kB / 0.6213 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8408, allocations: 0 / 0.6213 GB, free: 12.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006576/0.8473, allocations: 1.112 MB / 0.6224 GB, free: 11.69 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008115/0.8555, allocations: 0.9924 MB / 0.6233 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004028/0.8595, allocations: 1.682 MB / 0.625 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.547e-06/0.8596, allocations: 0 / 0.625 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.861, allocations: 0.6154 MB / 0.6256 GB, free: 8.871 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.8636, allocations: 356.6 kB / 0.6259 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.8678, allocations: 2.086 MB / 0.628 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.8685, allocations: 1.008 MB / 0.629 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.8689, allocations: 53.81 kB / 0.629 GB, free: 5.605 MB / 462.1 MB Notification: Performance of SimCode: time 2.244e-06/0.8689, allocations: 0 / 0.629 GB, free: 5.605 MB / 462.1 MB Notification: Performance of Templates: time 0.0573/0.9262, allocations: 25.03 MB / 0.6534 GB, free: 12.74 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.TestJoinRevCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinRevCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinRevCalcHelperMain.o] Error 1