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.6898/0.6898, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.024e-05, allocations: 0 / 205.4 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 31.97 MB / 237.4 MB, free: 5.391 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.TestBend): time 1.324/1.439, allocations: 293.6 MB / 0.5186 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03662/1.476, allocations: 37.66 MB / 0.5554 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/1.476, allocations: 4 kB / 0.5554 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/1.476, allocations: 247.2 kB / 0.5556 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/1.476, allocations: 247 kB / 0.5558 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01468/1.491, allocations: 7.487 MB / 0.5632 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/1.491, allocations: 482.8 kB / 0.5636 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/1.492, allocations: 164.2 kB / 0.5638 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/1.492, allocations: 199.2 kB / 0.564 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/1.492, allocations: 275.1 kB / 0.5642 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/1.492, allocations: 12 kB / 0.5642 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/1.515, allocations: 17.95 MB / 0.5818 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/1.515, allocations: 167.4 kB / 0.5819 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/1.515, allocations: 276 kB / 0.5822 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006068/1.521, allocations: 5.956 MB / 0.588 GB, free: 6.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.521, allocations: 7.938 kB / 0.588 GB, free: 6.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/1.521, allocations: 0 / 0.588 GB, free: 6.418 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/1.521, allocations: 0 / 0.588 GB, free: 6.418 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.002818/1.524, allocations: 1.71 MB / 0.5897 GB, free: 4.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/1.524, allocations: 12.03 kB / 0.5897 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/1.524, allocations: 71.06 kB / 0.5898 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/1.525, allocations: 490.3 kB / 0.5902 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.525, allocations: 20.56 kB / 0.5902 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/1.525, allocations: 28 kB / 0.5903 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/1.525, allocations: 429.2 kB / 0.5907 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.525, allocations: 0 / 0.5907 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/1.525, allocations: 16 kB / 0.5907 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/1.525, allocations: 15.98 kB / 0.5907 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/1.526, allocations: 345.7 kB / 0.591 GB, free: 3.184 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.03273/1.558, allocations: 18.71 MB / 0.6093 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/1.559, allocations: 172 kB / 0.6095 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.559, allocations: 113.4 kB / 0.6096 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.136/1.695, allocations: 78.12 MB / 0.6859 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.695, allocations: 30.56 kB / 0.6859 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 4.518e-06/1.695, allocations: 1.781 kB / 0.6859 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.00162/1.697, allocations: 0.6034 MB / 0.6865 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.697, allocations: 110.8 kB / 0.6866 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.698, allocations: 1.004 MB / 0.6876 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/1.698, allocations: 33.7 kB / 0.6876 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/1.698, allocations: 300.1 kB / 0.6879 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/1.698, allocations: 130.2 kB / 0.688 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/1.698, allocations: 33.7 kB / 0.6881 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.698, allocations: 382.7 kB / 0.6884 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/1.698, allocations: 156.4 kB / 0.6886 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.699, allocations: 243.1 kB / 0.6888 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/1.699, allocations: 340.4 kB / 0.6891 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.699, allocations: 4 kB / 0.6891 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006046/1.7, allocations: 0.5228 MB / 0.6896 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.7, allocations: 8 kB / 0.6896 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.7, allocations: 0 / 0.6896 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.701, allocations: 246.1 kB / 0.6899 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/1.701, allocations: 23.98 kB / 0.6899 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005647/1.702, allocations: 0.686 MB / 0.6906 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/1.702, allocations: 43.53 kB / 0.6906 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.702, allocations: 8 kB / 0.6906 GB, free: 2.324 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.0002173/1.702, allocations: 249.8 kB / 0.6909 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/1.702, allocations: 63.16 kB / 0.6909 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007046/1.703, allocations: 0.7091 MB / 0.6916 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003086/1.703, allocations: 250.4 kB / 0.6919 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.703, allocations: 0 / 0.6919 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.703, allocations: 0 / 0.6919 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1371/1.84, allocations: 0.9853 MB / 0.6928 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.841, allocations: 3.469 kB / 0.6928 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/1.841, allocations: 15.42 kB / 0.6928 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/1.842, allocations: 229.7 kB / 0.6931 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.842, allocations: 4.438 kB / 0.6931 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004348/1.842, allocations: 0.7006 MB / 0.6937 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.842, allocations: 1.688 kB / 0.6937 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/1.843, allocations: 413.9 kB / 0.6941 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.843, allocations: 197.4 kB / 0.6943 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/1.843, allocations: 8.234 kB / 0.6943 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/1.843, allocations: 13.12 kB / 0.6943 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/1.843, allocations: 15.98 kB / 0.6944 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.843, allocations: 4.594 kB / 0.6944 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007505/1.844, allocations: 0.8105 MB / 0.6952 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.844, allocations: 0 / 0.6952 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00256/1.847, allocations: 1.258 MB / 0.6964 GB, free: 227.1 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.004655/1.851, allocations: 1.816 MB / 0.6982 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005554/1.852, allocations: 347.5 kB / 0.6985 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.852, allocations: 4.562 kB / 0.6985 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/1.852, allocations: 110.5 kB / 0.6986 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/1.853, allocations: 152.1 kB / 0.6987 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.854, allocations: 1.389 MB / 0.7001 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/1.854, allocations: 0.9324 MB / 0.701 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/1.855, allocations: 35.67 kB / 0.701 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/1.855, allocations: 0 / 0.701 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.02809/1.883, allocations: 29.24 MB / 0.7296 GB, free: 215.8 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