Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 150.8 MB / 166.7 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.239e-05/1.242e-05, allocations: 4 kB / 205.4 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 31.97 MB / 237.4 MB, free: 5.434 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe): time 1.3/1.421, allocations: 294.6 MB / 0.5196 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1578/1.579, allocations: 181.5 MB / 0.6968 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/1.58, allocations: 4 kB / 0.6969 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003063/1.58, allocations: 119.2 kB / 0.697 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/1.58, allocations: 158.7 kB / 0.6971 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.243/1.823, allocations: 8.01 MB / 0.7049 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000934/1.824, allocations: 0.877 MB / 0.7058 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/1.825, allocations: 285.1 kB / 0.7061 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/1.825, allocations: 331.1 kB / 0.7064 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/1.825, allocations: 361.6 kB / 0.7067 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.569e-05/1.826, allocations: 35.59 kB / 0.7068 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02208/1.848, allocations: 17.32 MB / 0.7237 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/1.848, allocations: 127.1 kB / 0.7238 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/1.848, allocations: 339.8 kB / 0.7241 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006071/1.854, allocations: 6.326 MB / 0.7303 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.854, allocations: 3.688 kB / 0.7303 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/1.854, allocations: 3.688 kB / 0.7303 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.854, allocations: 0 / 0.7303 GB, free: 7.18 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005291/1.86, allocations: 2.241 MB / 0.7325 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/1.86, allocations: 11.34 kB / 0.7325 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/1.86, allocations: 67.34 kB / 0.7326 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/1.86, allocations: 369.7 kB / 0.7329 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/1.86, allocations: 98.56 kB / 0.733 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/1.86, allocations: 48.69 kB / 0.7331 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/1.862, allocations: 0.9296 MB / 0.734 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.862, allocations: 1.688 kB / 0.734 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/1.862, allocations: 22.34 kB / 0.734 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/1.862, allocations: 21.33 kB / 0.734 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/1.864, allocations: 1.017 MB / 0.735 GB, free: 5.551 MB / 0.5762 GB 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.002913/1.867, allocations: 3.917 MB / 0.7388 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.869, allocations: 0.7738 MB / 0.7396 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/1.871, allocations: 458.7 kB / 0.74 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.201/2.072, allocations: 118.3 MB / 0.8555 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/2.072, allocations: 38.25 kB / 0.8556 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=71): time 2.204e-06/2.072, allocations: 0 / 0.8556 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=71): time 0.004397/2.076, allocations: 1.593 MB / 0.8571 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/2.076, allocations: 55.41 kB / 0.8572 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/2.076, allocations: 402.7 kB / 0.8576 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/2.077, allocations: 33.08 kB / 0.8576 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/2.077, allocations: 290.6 kB / 0.8579 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/2.077, allocations: 247.3 kB / 0.8581 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/2.077, allocations: 75.61 kB / 0.8582 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001128/2.077, allocations: 372.5 kB / 0.8585 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/2.078, allocations: 426.1 kB / 0.859 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/2.08, allocations: 0.6764 MB / 0.8596 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/2.082, allocations: 1.139 MB / 0.8607 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/2.082, allocations: 4 kB / 0.8607 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00334/2.086, allocations: 1.36 MB / 0.8621 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/2.086, allocations: 8 kB / 0.8621 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/2.086, allocations: 8 kB / 0.8621 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/2.088, allocations: 0.6932 MB / 0.8627 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/2.089, allocations: 328.7 kB / 0.8631 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/2.091, allocations: 1.972 MB / 0.865 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/2.092, allocations: 183 kB / 0.8652 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/2.092, allocations: 39.36 kB / 0.8652 GB, free: 4.434 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 16 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,tank2.Cs1.b,tank2.Ce2.a,tank2.Cs2.b,tank2.Ce1.a,tank1.Cs1.b,tank1.Ce2.a,tank1.Cs2.b,tank1.Ce1.a,tank2.Cs2.a,tank2.Cs1.a,tank2.Ce1.b,tank1.Cs1.a,tank1.Ce2.b,tank1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,9), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002044/2.092, allocations: 200.8 kB / 0.8654 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/2.092, allocations: 55.34 kB / 0.8654 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/2.095, allocations: 1.49 MB / 0.8669 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002819/2.098, allocations: 1.195 MB / 0.8681 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/2.098, allocations: 0.9375 kB / 0.8681 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/2.098, allocations: 7.984 kB / 0.8681 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/2.103, allocations: 2.404 MB / 0.8704 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/2.103, allocations: 0 / 0.8704 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/2.104, allocations: 383.7 kB / 0.8708 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/2.105, allocations: 217.3 kB / 0.871 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/2.105, allocations: 15 kB / 0.871 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006375/2.105, allocations: 1.223 MB / 0.8722 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.105, allocations: 0 / 0.8722 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/2.11, allocations: 1.943 MB / 0.8741 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/2.11, allocations: 209.6 kB / 0.8743 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/2.11, allocations: 15.06 kB / 0.8743 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/2.111, allocations: 126.9 kB / 0.8744 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/2.111, allocations: 67.78 kB / 0.8745 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/2.111, allocations: 23.64 kB / 0.8745 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000203/2.111, allocations: 255.1 kB / 0.8748 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/2.111, allocations: 0 / 0.8748 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002918/2.114, allocations: 1.467 MB / 0.8762 GB, free: 11.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tank1.z,tank1.h,tank2.z,tank2.h,lumpedStraightPipe.Q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004534/2.119, allocations: 2.165 MB / 0.8783 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003244/2.122, allocations: 1.306 MB / 0.8796 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/2.122, allocations: 0.625 kB / 0.8796 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/2.123, allocations: 0.6309 MB / 0.8802 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/2.124, allocations: 211 kB / 0.8804 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/2.127, allocations: 2.067 MB / 0.8824 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/2.127, allocations: 0.9313 MB / 0.8833 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/2.128, allocations: 72.77 kB / 0.8834 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/2.128, allocations: 0 / 0.8834 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of Templates: time 0.03852/2.166, allocations: 37.46 MB / 0.92 GB, free: 15.32 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipeCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipeCalcHelperMain.o] Error 1