Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8353/0.8353, allocations: 150.9 MB / 166.6 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 11.98 kB / 204.6 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 31.33 MB / 236 MB, free: 5.418 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.SimpleExamples.TestDiaphragm): time 1.71/1.912, allocations: 292.6 MB / 0.5162 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04278/1.955, allocations: 37.81 MB / 0.5531 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/1.955, allocations: 8 kB / 0.5532 GB, free: 8.215 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/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35:37: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.000398/1.955, allocations: 87.55 kB / 0.5532 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/1.956, allocations: 79.36 kB / 0.5533 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0228/1.978, allocations: 7.207 MB / 0.5603 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/1.979, allocations: 334.9 kB / 0.5607 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/1.979, allocations: 106.6 kB / 0.5608 GB, free: 420 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/1.979, allocations: 135.3 kB / 0.5609 GB, free: 284 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/1.98, allocations: 115.4 kB / 0.561 GB, free: 168 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/1.98, allocations: 16 kB / 0.561 GB, free: 152 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02971/2.009, allocations: 17.8 MB / 0.5784 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/2.009, allocations: 43.8 kB / 0.5784 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/2.01, allocations: 131.3 kB / 0.5786 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/2.021, allocations: 5.735 MB / 0.5842 GB, free: 8.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/2.021, allocations: 4 kB / 0.5842 GB, free: 8.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/2.021, allocations: 0 / 0.5842 GB, free: 8.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/2.021, allocations: 0 / 0.5842 GB, free: 8.398 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004139/2.025, allocations: 1.451 MB / 0.5856 GB, free: 6.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/2.025, allocations: 15.97 kB / 0.5856 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/2.025, allocations: 23.72 kB / 0.5856 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/2.026, allocations: 239.2 kB / 0.5859 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/2.026, allocations: 16.44 kB / 0.5859 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/2.026, allocations: 24 kB / 0.5859 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/2.026, allocations: 309.1 kB / 0.5862 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/2.026, allocations: 7.938 kB / 0.5862 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/2.026, allocations: 12 kB / 0.5862 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/2.026, allocations: 15.98 kB / 0.5862 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/2.026, allocations: 177 kB / 0.5864 GB, free: 6.008 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.03415/2.061, allocations: 18.06 MB / 0.604 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/2.061, allocations: 150.5 kB / 0.6042 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/2.061, allocations: 84.84 kB / 0.6043 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1399/2.201, allocations: 77.46 MB / 0.6799 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/2.201, allocations: 34.55 kB / 0.6799 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/2.201, allocations: 0 / 0.6799 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0009753/2.202, allocations: 431.4 kB / 0.6803 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/2.202, allocations: 81.11 kB / 0.6804 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/2.203, allocations: 219.1 kB / 0.6806 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/2.203, allocations: 29.7 kB / 0.6807 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/2.203, allocations: 156.4 kB / 0.6808 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/2.203, allocations: 110.3 kB / 0.6809 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/2.203, allocations: 45.7 kB / 0.681 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001307/2.203, allocations: 338.8 kB / 0.6813 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/2.203, allocations: 79.91 kB / 0.6814 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/2.203, allocations: 133.9 kB / 0.6815 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/2.204, allocations: 225.3 kB / 0.6817 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/2.204, allocations: 0 / 0.6817 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000479/2.204, allocations: 302 kB / 0.682 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/2.204, allocations: 11.94 kB / 0.682 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/2.204, allocations: 4.156 kB / 0.682 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009511/2.205, allocations: 134.5 kB / 0.6821 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/2.205, allocations: 16 kB / 0.6821 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005754/2.206, allocations: 0.6146 MB / 0.6827 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/2.206, allocations: 39.52 kB / 0.6828 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/2.206, allocations: 4 kB / 0.6828 GB, free: 8.453 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.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 (15): * Single equations (assignments): 12 * 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.0001531/2.206, allocations: 141.8 kB / 0.6829 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/2.206, allocations: 23.78 kB / 0.6829 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009145/2.207, allocations: 0.607 MB / 0.6835 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000537/2.208, allocations: 235.1 kB / 0.6838 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/2.208, allocations: 7.938 kB / 0.6838 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/2.208, allocations: 0 / 0.6838 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/2.209, allocations: 0.7288 MB / 0.6845 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/2.209, allocations: 0 / 0.6845 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/2.209, allocations: 23.98 kB / 0.6845 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/2.21, allocations: 128.7 kB / 0.6846 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/2.21, allocations: 4 kB / 0.6846 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004814/2.21, allocations: 0.6467 MB / 0.6853 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/2.21, allocations: 0 / 0.6853 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/2.211, allocations: 345.2 kB / 0.6856 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/2.211, allocations: 112.8 kB / 0.6857 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/2.211, allocations: 15.78 kB / 0.6857 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/2.211, allocations: 4 kB / 0.6857 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/2.211, allocations: 11.98 kB / 0.6857 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/2.211, allocations: 0 / 0.6857 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002476/2.211, allocations: 245.9 kB / 0.686 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.8e-07/2.211, allocations: 4 kB / 0.686 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003459/2.215, allocations: 1.21 MB / 0.6871 GB, free: 3.773 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.006448/2.221, allocations: 1.819 MB / 0.6889 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000583/2.222, allocations: 257.5 kB / 0.6892 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.222, allocations: 0 / 0.6892 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/2.222, allocations: 96.88 kB / 0.6893 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/2.223, allocations: 120.6 kB / 0.6894 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/2.224, allocations: 0.6383 MB / 0.69 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/2.224, allocations: 0.7675 MB / 0.6908 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/2.224, allocations: 23.44 kB / 0.6908 GB, free: 16 kB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/2.224, allocations: 4 kB / 0.6908 GB, free: 12 kB / 0.5762 GB Notification: Performance of Templates: time 0.2394/2.464, allocations: 25.36 MB / 0.7155 GB, free: 218.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.SimpleExamples.TestDiaphragmCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.o] Error 1