Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6958/0.6958, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.006e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 31.99 MB / 237.4 MB, free: 5.418 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.TestControlValve): time 1.327/1.447, allocations: 293.5 MB / 0.5185 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03655/1.483, allocations: 37.35 MB / 0.555 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/1.483, allocations: 4 kB / 0.555 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/1.484, allocations: 135.4 kB / 0.5551 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/1.484, allocations: 135.3 kB / 0.5552 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01517/1.499, allocations: 7.421 MB / 0.5625 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/1.499, allocations: 370.3 kB / 0.5628 GB, free: 268 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/1.5, allocations: 102.3 kB / 0.5629 GB, free: 164 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/1.5, allocations: 143.3 kB / 0.5631 GB, free: 20 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/1.5, allocations: 151.5 kB / 0.5632 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/1.5, allocations: 8 kB / 0.5632 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/1.523, allocations: 17.88 MB / 0.5807 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/1.523, allocations: 55.78 kB / 0.5807 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/1.523, allocations: 172.7 kB / 0.5809 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006318/1.53, allocations: 5.695 MB / 0.5865 GB, free: 8.016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/1.53, allocations: 4 kB / 0.5865 GB, free: 8.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.345e-06/1.53, allocations: 0 / 0.5865 GB, free: 8.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/1.53, allocations: 3.938 kB / 0.5865 GB, free: 8.008 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003207/1.533, allocations: 1.466 MB / 0.5879 GB, free: 6.492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/1.533, allocations: 8.031 kB / 0.5879 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/1.533, allocations: 43.47 kB / 0.588 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/1.533, allocations: 290.1 kB / 0.5882 GB, free: 6.121 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.533, allocations: 20.38 kB / 0.5883 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/1.533, allocations: 20 kB / 0.5883 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/1.534, allocations: 315.4 kB / 0.5886 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.534, allocations: 0 / 0.5886 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/1.534, allocations: 12 kB / 0.5886 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/1.534, allocations: 19.92 kB / 0.5886 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/1.534, allocations: 209 kB / 0.5888 GB, free: 5.512 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.03271/1.567, allocations: 18.24 MB / 0.6066 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/1.567, allocations: 150.5 kB / 0.6068 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/1.567, allocations: 104.8 kB / 0.6069 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1362/1.703, allocations: 77.94 MB / 0.683 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.703, allocations: 38.5 kB / 0.683 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/1.703, allocations: 0 / 0.683 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0009657/1.704, allocations: 0.4914 MB / 0.6835 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.704, allocations: 55.41 kB / 0.6835 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/1.705, allocations: 360.3 kB / 0.6839 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.705, allocations: 25.7 kB / 0.6839 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.705, allocations: 184.5 kB / 0.6841 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/1.705, allocations: 110.3 kB / 0.6842 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/1.705, allocations: 29.7 kB / 0.6842 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.705, allocations: 350.8 kB / 0.6846 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.705, allocations: 95.91 kB / 0.6846 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/1.705, allocations: 136.2 kB / 0.6848 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/1.706, allocations: 252.5 kB / 0.685 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.706, allocations: 4 kB / 0.685 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000407/1.706, allocations: 341.5 kB / 0.6853 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.706, allocations: 8 kB / 0.6853 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.706, allocations: 0 / 0.6853 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/1.707, allocations: 172.8 kB / 0.6855 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/1.707, allocations: 15.94 kB / 0.6855 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004513/1.707, allocations: 0.6108 MB / 0.6861 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/1.707, allocations: 27.62 kB / 0.6862 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/1.707, allocations: 12.77 kB / 0.6862 GB, free: 7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (ControlValve.C2.b,ControlValve.C1.a,PuitsP1.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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.708, allocations: 157.8 kB / 0.6863 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/1.708, allocations: 31.56 kB / 0.6863 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000722/1.708, allocations: 0.6512 MB / 0.687 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003821/1.709, allocations: 266.3 kB / 0.6872 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.709, allocations: 0 / 0.6872 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.709, allocations: 0.6562 kB / 0.6872 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/1.71, allocations: 0.8242 MB / 0.688 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.71, allocations: 7.938 kB / 0.688 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/1.71, allocations: 15.98 kB / 0.6881 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/1.71, allocations: 129.6 kB / 0.6882 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/1.71, allocations: 8 kB / 0.6882 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004188/1.711, allocations: 0.635 MB / 0.6888 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.711, allocations: 0 / 0.6888 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/1.711, allocations: 392.7 kB / 0.6892 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.711, allocations: 148.7 kB / 0.6893 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/1.711, allocations: 7.938 kB / 0.6893 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.711, allocations: 7.906 kB / 0.6893 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/1.711, allocations: 11.92 kB / 0.6894 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.711, allocations: 8 kB / 0.6894 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002991/1.712, allocations: 331.1 kB / 0.6897 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.712, allocations: 0 / 0.6897 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002119/1.714, allocations: 1.202 MB / 0.6909 GB, free: 1.977 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004015/1.718, allocations: 1.782 MB / 0.6926 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.1259/1.844, allocations: 280.1 kB / 0.6929 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.844, allocations: 0 / 0.6929 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/1.844, allocations: 120.5 kB / 0.693 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/1.845, allocations: 123.1 kB / 0.6931 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/1.846, allocations: 0.8361 MB / 0.6939 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/1.846, allocations: 0.8052 MB / 0.6947 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/1.846, allocations: 24.59 kB / 0.6947 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/1.846, allocations: 0 / 0.6947 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.02464/1.871, allocations: 25.52 MB / 0.7196 GB, free: 220.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.TestControlValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.o] Error 1