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.001048/0.001048, allocations: 91.95 kB / 16.95 MB, free: 5.641 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.001325/0.001325, allocations: 184 kB / 17.85 MB, free: 5.305 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.986/1.986, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4132/0.4132, allocations: 48.79 MB / 321.1 MB, free: 11.2 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.0007023/0.0007027, allocations: 16.75 kB / 391.8 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1706, allocations: 60.27 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.5516/0.7223, allocations: 100 MB / 0.5391 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.7428, allocations: 10.95 MB / 0.5498 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.7444, allocations: 23.59 kB / 0.5498 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.7464, allocations: 446 kB / 0.5503 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.7491, allocations: 0.6861 MB / 0.5509 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02346/0.7726, allocations: 4.336 MB / 0.5552 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005165/0.7778, allocations: 2.126 MB / 0.5572 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.7796, allocations: 0.4921 MB / 0.5577 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.7817, allocations: 0.564 MB / 0.5583 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.783, allocations: 0.5976 MB / 0.5589 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.7832, allocations: 42.28 kB / 0.5589 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/0.8026, allocations: 6.056 MB / 0.5648 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.8032, allocations: 125.4 kB / 0.5649 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008292/0.804, allocations: 176.5 kB / 0.5651 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.8145, allocations: 2.866 MB / 0.5679 GB, free: 10.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.8146, allocations: 0 / 0.5679 GB, free: 10.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.8146, allocations: 0 / 0.5679 GB, free: 10.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.8146, allocations: 2.406 kB / 0.5679 GB, free: 10.2 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.006696/0.8213, allocations: 1.412 MB / 0.5693 GB, free: 9.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.8214, allocations: 15.62 kB / 0.5693 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.8217, allocations: 106.4 kB / 0.5694 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.8224, allocations: 459.1 kB / 0.5698 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.8224, allocations: 51.16 kB / 0.5699 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.8225, allocations: 59.41 kB / 0.5699 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.8243, allocations: 0.818 MB / 0.5707 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.8243, allocations: 5.703 kB / 0.5707 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.8244, allocations: 24.28 kB / 0.5708 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.8244, allocations: 17.19 kB / 0.5708 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.8259, allocations: 0.6011 MB / 0.5714 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.8299, allocations: 4.394 MB / 0.5757 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.8312, allocations: 0.4913 MB / 0.5761 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.8316, allocations: 186.6 kB / 0.5763 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06262/0.8943, allocations: 32.3 MB / 0.6079 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.8944, allocations: 40.7 kB / 0.6079 GB, free: 9.445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 3.947e-06/0.8944, allocations: 0 / 0.6079 GB, free: 9.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002554/0.897, allocations: 0.7181 MB / 0.6086 GB, free: 8.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.8971, allocations: 81.11 kB / 0.6087 GB, free: 8.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/0.8977, allocations: 469.2 kB / 0.6091 GB, free: 8.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.8978, allocations: 33.02 kB / 0.6092 GB, free: 8.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.8981, allocations: 342.7 kB / 0.6095 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.8982, allocations: 110.2 kB / 0.6096 GB, free: 8.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.8983, allocations: 5.125 kB / 0.6096 GB, free: 8.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.8985, allocations: 361.6 kB / 0.6099 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.8988, allocations: 133.1 kB / 0.6101 GB, free: 7.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.8992, allocations: 215.5 kB / 0.6103 GB, free: 7.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.8996, allocations: 153.1 kB / 0.6104 GB, free: 7.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8996, allocations: 4 kB / 0.6104 GB, free: 7.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009414/0.9006, allocations: 446.3 kB / 0.6109 GB, free: 6.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.9008, allocations: 164.1 kB / 0.611 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.9008, allocations: 4 kB / 0.611 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.9008, allocations: 4 kB / 0.611 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.9013, allocations: 91.69 kB / 0.6111 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.9013, allocations: 7.938 kB / 0.6111 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.9019, allocations: 96.06 kB / 0.6112 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.902, allocations: 14.94 kB / 0.6112 GB, free: 6.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.902, allocations: 4 kB / 0.6112 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005736/0.9026, allocations: 299.8 kB / 0.6115 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9026, allocations: 4 kB / 0.6115 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.9026, allocations: 4 kB / 0.6115 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.9029, allocations: 87.39 kB / 0.6116 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.9029, allocations: 4 kB / 0.6116 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.9032, allocations: 86.73 kB / 0.6117 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.9033, allocations: 15.25 kB / 0.6117 GB, free: 6.195 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.9037, allocations: 260.2 kB / 0.6119 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.9038, allocations: 59.34 kB / 0.612 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.9059, allocations: 1.583 MB / 0.6136 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.906, allocations: 20.84 kB / 0.6136 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.906, allocations: 7.969 kB / 0.6136 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.906, allocations: 0 / 0.6136 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.9073, allocations: 0.9771 MB / 0.6145 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.9074, allocations: 7.953 kB / 0.6145 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.9077, allocations: 71.33 kB / 0.6146 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.9077, allocations: 0 / 0.6146 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.9077, allocations: 10.38 kB / 0.6146 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9078, allocations: 0 / 0.6146 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.9078, allocations: 5.25 kB / 0.6146 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.9092, allocations: 0.9926 MB / 0.6156 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.9095, allocations: 198.1 kB / 0.6158 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.9096, allocations: 14.25 kB / 0.6158 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.9099, allocations: 55.14 kB / 0.6158 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9101, allocations: 41.19 kB / 0.6159 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.9101, allocations: 14.48 kB / 0.6159 GB, free: 3.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003801/0.9105, allocations: 323 kB / 0.6162 GB, free: 2.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9105, allocations: 0 / 0.6162 GB, free: 2.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006319/0.9168, allocations: 1.064 MB / 0.6172 GB, free: 1.754 MB / 446.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 (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.006779/0.9237, allocations: 0.981 MB / 0.6182 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.9255, allocations: 0.678 MB / 0.6189 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9255, allocations: 0 / 0.6189 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.9263, allocations: 429 kB / 0.6193 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.9285, allocations: 313.4 kB / 0.6196 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.9333, allocations: 1.984 MB / 0.6215 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/0.9342, allocations: 0.9792 MB / 0.6225 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.9344, allocations: 50.67 kB / 0.6225 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 3.387e-06/0.9345, allocations: 0 / 0.6225 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Templates: time 0.05429/0.9887, allocations: 23.08 MB / 0.6451 GB, free: 6.133 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.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