Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6877/0.6877, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.114e-05/1.123e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 31.97 MB / 237.4 MB, free: 5.41 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.303/1.421, allocations: 293.6 MB / 0.5185 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.164/1.585, allocations: 186.1 MB / 0.7003 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/1.586, allocations: 4 kB / 0.7003 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/1.586, allocations: 31.7 kB / 0.7004 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/1.586, allocations: 95.22 kB / 0.7004 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2453/1.831, allocations: 8.808 MB / 0.709 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/1.832, allocations: 374.5 kB / 0.7094 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/1.832, allocations: 159.1 kB / 0.7096 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/1.832, allocations: 116.9 kB / 0.7097 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/1.832, allocations: 140.6 kB / 0.7098 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/1.832, allocations: 13.16 kB / 0.7098 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/1.858, allocations: 20 MB / 0.7293 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/1.858, allocations: 49.67 kB / 0.7294 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/1.858, allocations: 178.7 kB / 0.7296 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0069/1.865, allocations: 6.654 MB / 0.7361 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/1.865, allocations: 0 / 0.7361 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/1.865, allocations: 0 / 0.7361 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.203e-06/1.865, allocations: 0 / 0.7361 GB, free: 3.984 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.003849/1.869, allocations: 1.678 MB / 0.7377 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/1.869, allocations: 9.438 kB / 0.7377 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/1.869, allocations: 42.62 kB / 0.7378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/1.869, allocations: 282.6 kB / 0.738 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.869, allocations: 26.75 kB / 0.738 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/1.869, allocations: 34.22 kB / 0.7381 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/1.869, allocations: 361.7 kB / 0.7384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.87, allocations: 0.7656 kB / 0.7384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.87, allocations: 14.47 kB / 0.7384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.87, allocations: 8.156 kB / 0.7384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/1.87, allocations: 228.6 kB / 0.7387 GB, free: 2.414 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.006796/1.877, allocations: 6.115 MB / 0.7446 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/1.877, allocations: 78.61 kB / 0.7447 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/1.877, allocations: 30.39 kB / 0.7447 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2033/2.08, allocations: 119.3 MB / 0.8612 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/2.08, allocations: 30.56 kB / 0.8612 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/2.08, allocations: 0 / 0.8612 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7): time 0.0007403/2.081, allocations: 280.4 kB / 0.8615 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/2.081, allocations: 54.31 kB / 0.8616 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/2.081, allocations: 290.3 kB / 0.8618 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/2.081, allocations: 27.56 kB / 0.8619 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/2.082, allocations: 227.6 kB / 0.8621 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/2.082, allocations: 23.34 kB / 0.8621 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/2.082, allocations: 29.08 kB / 0.8621 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000104/2.082, allocations: 337.9 kB / 0.8625 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/2.082, allocations: 38.97 kB / 0.8625 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/2.082, allocations: 143.2 kB / 0.8626 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/2.082, allocations: 187.7 kB / 0.8628 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.082, allocations: 5.859 kB / 0.8628 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004434/2.083, allocations: 280.3 kB / 0.8631 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/2.083, allocations: 13.06 kB / 0.8631 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.083, allocations: 4 kB / 0.8631 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/2.083, allocations: 159.9 kB / 0.8632 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/2.084, allocations: 34.89 kB / 0.8633 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003553/2.084, allocations: 0.5839 MB / 0.8639 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/2.084, allocations: 31.5 kB / 0.8639 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/2.084, allocations: 15.98 kB / 0.8639 GB, free: 3.41 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001146/2.084, allocations: 150.5 kB / 0.864 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/2.084, allocations: 19.72 kB / 0.8641 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/2.085, allocations: 169.1 kB / 0.8642 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/2.085, allocations: 0 / 0.8642 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/2.085, allocations: 0 / 0.8642 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/2.085, allocations: 4.062 kB / 0.8642 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/2.085, allocations: 303 kB / 0.8645 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/2.085, allocations: 3.938 kB / 0.8645 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/2.085, allocations: 4 kB / 0.8645 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/2.085, allocations: 107.6 kB / 0.8646 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/2.085, allocations: 3.938 kB / 0.8646 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003206/2.086, allocations: 0.5874 MB / 0.8652 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/2.086, allocations: 0 / 0.8652 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/2.086, allocations: 158.7 kB / 0.8654 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/2.086, allocations: 104.4 kB / 0.8655 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/2.086, allocations: 3.812 kB / 0.8655 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/2.086, allocations: 8.062 kB / 0.8655 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/2.086, allocations: 3.984 kB / 0.8655 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/2.086, allocations: 4 kB / 0.8655 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001747/2.086, allocations: 202.8 kB / 0.8657 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.71e-07/2.086, allocations: 0 / 0.8657 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002725/2.089, allocations: 1.449 MB / 0.8671 GB, free: 352 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004602/2.094, allocations: 2.248 MB / 0.8693 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002535/2.094, allocations: 120 kB / 0.8694 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/2.094, allocations: 4.125 kB / 0.8694 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/2.094, allocations: 31.36 kB / 0.8694 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/2.094, allocations: 61.64 kB / 0.8695 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/2.095, allocations: 0.6114 MB / 0.8701 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/2.095, allocations: 0.7596 MB / 0.8708 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/2.095, allocations: 31.12 kB / 0.8709 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/2.095, allocations: 0 / 0.8709 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of Templates: time 0.02983/2.125, allocations: 28.05 MB / 0.8982 GB, free: 0.9102 MB / 0.7325 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o] Error 1