Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7686/0.7686, allocations: 150.8 MB / 166.6 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 11.98 kB / 204.7 MB, free: 9.695 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 31.33 MB / 236 MB, free: 5.43 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.506/1.648, allocations: 292.7 MB / 0.5163 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03985/1.688, allocations: 38.25 MB / 0.5536 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/1.688, allocations: 0 / 0.5536 GB, free: 7.652 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:58:3-60:43:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005334/1.688, allocations: 248.2 kB / 0.5539 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/1.689, allocations: 247 kB / 0.5541 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01909/1.708, allocations: 7.347 MB / 0.5613 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006307/1.708, allocations: 474.8 kB / 0.5617 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/1.709, allocations: 173.9 kB / 0.5619 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/1.709, allocations: 207.2 kB / 0.5621 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/1.709, allocations: 291.1 kB / 0.5624 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/1.709, allocations: 16 kB / 0.5624 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02695/1.736, allocations: 17.87 MB / 0.5798 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/1.736, allocations: 175.4 kB / 0.58 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/1.737, allocations: 258.2 kB / 0.5803 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009269/1.746, allocations: 6.051 MB / 0.5862 GB, free: 6.285 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.746, allocations: 4 kB / 0.5862 GB, free: 6.281 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.21e-07/1.746, allocations: 0 / 0.5862 GB, free: 6.281 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/1.746, allocations: 0 / 0.5862 GB, free: 6.281 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003766/1.75, allocations: 1.819 MB / 0.5879 GB, free: 4.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.75, allocations: 8.031 kB / 0.588 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/1.75, allocations: 67.16 kB / 0.588 GB, free: 4.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/1.751, allocations: 494.2 kB / 0.5885 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/1.751, allocations: 16.56 kB / 0.5885 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/1.751, allocations: 28 kB / 0.5885 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/1.751, allocations: 433.7 kB / 0.5889 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.751, allocations: 0 / 0.5889 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/1.751, allocations: 16 kB / 0.589 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.751, allocations: 17.48 kB / 0.589 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/1.752, allocations: 341.7 kB / 0.5893 GB, free: 2.945 MB / 478.1 MB 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.03485/1.786, allocations: 18.59 MB / 0.6075 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/1.787, allocations: 166.6 kB / 0.6076 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/1.787, allocations: 106 kB / 0.6077 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1371/1.924, allocations: 77.47 MB / 0.6834 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/1.924, allocations: 34.56 kB / 0.6834 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 3.186e-06/1.924, allocations: 0 / 0.6834 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001792/1.926, allocations: 0.5996 MB / 0.684 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.926, allocations: 102.8 kB / 0.6841 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.928, allocations: 1.008 MB / 0.6851 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/1.928, allocations: 25.7 kB / 0.6851 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/1.928, allocations: 304.1 kB / 0.6854 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/1.928, allocations: 126 kB / 0.6855 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/1.928, allocations: 69.58 kB / 0.6856 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.928, allocations: 386.7 kB / 0.6859 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/1.928, allocations: 156.4 kB / 0.6861 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/1.929, allocations: 239.1 kB / 0.6863 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/1.929, allocations: 332.8 kB / 0.6866 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.929, allocations: 3.938 kB / 0.6866 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007365/1.93, allocations: 0.5318 MB / 0.6872 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.93, allocations: 4 kB / 0.6872 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.93, allocations: 4 kB / 0.6872 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/1.931, allocations: 220.7 kB / 0.6874 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/1.932, allocations: 19.98 kB / 0.6874 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006346/1.932, allocations: 0.6938 MB / 0.6881 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/1.932, allocations: 39.53 kB / 0.6881 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/1.932, allocations: 15.98 kB / 0.6881 GB, free: 2.867 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/1.933, allocations: 237.8 kB / 0.6884 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.933, allocations: 63.22 kB / 0.6884 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000764/1.934, allocations: 0.7129 MB / 0.6891 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003246/1.934, allocations: 252 kB / 0.6893 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.934, allocations: 0 / 0.6893 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.934, allocations: 4 kB / 0.6894 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/1.935, allocations: 0.9842 MB / 0.6903 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.935, allocations: 6.891 kB / 0.6903 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/1.935, allocations: 15.98 kB / 0.6903 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/1.937, allocations: 217.5 kB / 0.6905 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/1.937, allocations: 7.938 kB / 0.6905 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1532/2.09, allocations: 0.7001 MB / 0.6912 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.09, allocations: 0 / 0.6912 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/2.09, allocations: 412.3 kB / 0.6916 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/2.09, allocations: 174.3 kB / 0.6918 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/2.091, allocations: 15.33 kB / 0.6918 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/2.091, allocations: 6.141 kB / 0.6918 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/2.091, allocations: 13.78 kB / 0.6918 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/2.091, allocations: 9.344 kB / 0.6918 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007804/2.092, allocations: 0.8094 MB / 0.6926 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/2.092, allocations: 0 / 0.6926 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003062/2.095, allocations: 1.253 MB / 0.6938 GB, free: 224.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004675/2.099, allocations: 1.839 MB / 0.6956 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006202/2.1, allocations: 355.5 kB / 0.696 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.1, allocations: 0 / 0.696 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/2.1, allocations: 113.1 kB / 0.6961 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/2.101, allocations: 145.4 kB / 0.6962 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/2.103, allocations: 1.364 MB / 0.6976 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/2.103, allocations: 0.9282 MB / 0.6985 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/2.103, allocations: 42.56 kB / 0.6985 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/2.103, allocations: 1.125 kB / 0.6985 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.03556/2.139, allocations: 29.85 MB / 0.7277 GB, free: 213.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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 OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBendCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBendCalcHelperMain.o] Error 1