Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8603/0.8603, allocations: 150.8 MB / 166.6 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 15.98 kB / 204.7 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.182, allocations: 31.32 MB / 236 MB, free: 5.445 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.TestPipePressureLoss): time 1.715/1.897, allocations: 292.7 MB / 0.5162 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04281/1.94, allocations: 37.56 MB / 0.5529 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/1.941, allocations: 4 kB / 0.5529 GB, free: 8.445 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/PipePressureLoss.mo:35:3-37: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/PipePressureLoss.mo:38:3-40: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.0004168/1.941, allocations: 84.53 kB / 0.553 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/1.941, allocations: 83.36 kB / 0.5531 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02546/1.967, allocations: 7.159 MB / 0.5601 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006239/1.967, allocations: 326.4 kB / 0.5604 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/1.968, allocations: 102.1 kB / 0.5605 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/1.968, allocations: 131.3 kB / 0.5606 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/1.968, allocations: 107.4 kB / 0.5607 GB, free: 480 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/1.968, allocations: 12 kB / 0.5607 GB, free: 468 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03371/2.002, allocations: 17.73 MB / 0.578 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/2.002, allocations: 39.78 kB / 0.5781 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/2.002, allocations: 123.4 kB / 0.5782 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/2.016, allocations: 5.7 MB / 0.5838 GB, free: 8.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/2.016, allocations: 0 / 0.5838 GB, free: 8.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/2.016, allocations: 3.938 kB / 0.5838 GB, free: 8.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/2.016, allocations: 4 kB / 0.5838 GB, free: 8.816 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00544/2.021, allocations: 1.431 MB / 0.5852 GB, free: 7.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/2.021, allocations: 8.031 kB / 0.5852 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.375e-05/2.021, allocations: 31.56 kB / 0.5852 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/2.022, allocations: 234.5 kB / 0.5854 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/2.022, allocations: 16.44 kB / 0.5855 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/2.022, allocations: 21.5 kB / 0.5855 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/2.022, allocations: 299.3 kB / 0.5858 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/2.022, allocations: 0 / 0.5858 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/2.022, allocations: 12 kB / 0.5858 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/2.022, allocations: 11.98 kB / 0.5858 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/2.022, allocations: 173 kB / 0.5859 GB, free: 6.48 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.03747/2.06, allocations: 18.02 MB / 0.6035 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/2.06, allocations: 134.6 kB / 0.6037 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/2.06, allocations: 94.27 kB / 0.6038 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1485/2.209, allocations: 77.26 MB / 0.6792 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/2.209, allocations: 34.56 kB / 0.6792 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/2.209, allocations: 0 / 0.6792 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.001119/2.21, allocations: 447.3 kB / 0.6797 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/2.21, allocations: 55.41 kB / 0.6797 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/2.211, allocations: 219 kB / 0.6799 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/2.211, allocations: 29.7 kB / 0.68 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/2.211, allocations: 144.5 kB / 0.6801 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/2.211, allocations: 110.3 kB / 0.6802 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/2.211, allocations: 53.7 kB / 0.6803 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001168/2.211, allocations: 330.8 kB / 0.6806 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/2.211, allocations: 71.97 kB / 0.6806 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/2.211, allocations: 120.2 kB / 0.6808 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/2.212, allocations: 204.6 kB / 0.6809 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/2.212, allocations: 4 kB / 0.6809 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004363/2.212, allocations: 305.5 kB / 0.6812 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.212, allocations: 7.938 kB / 0.6812 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/2.212, allocations: 4 kB / 0.6813 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/2.213, allocations: 162.2 kB / 0.6814 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.904e-05/2.213, allocations: 15.94 kB / 0.6814 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005523/2.214, allocations: 0.6271 MB / 0.682 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/2.214, allocations: 27.69 kB / 0.6821 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/2.214, allocations: 7.984 kB / 0.6821 GB, free: 9.242 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 (pipePressureLoss.C2.b,pipePressureLoss.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001364/2.214, allocations: 133.8 kB / 0.6822 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/2.214, allocations: 23.66 kB / 0.6822 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/2.215, allocations: 0.5954 MB / 0.6828 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003604/2.215, allocations: 222.3 kB / 0.683 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.215, allocations: 4 kB / 0.683 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/2.215, allocations: 3.984 kB / 0.683 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/2.216, allocations: 0.7333 MB / 0.6837 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/2.216, allocations: 4 kB / 0.6837 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/2.216, allocations: 15.98 kB / 0.6838 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/2.217, allocations: 125.7 kB / 0.6839 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/2.217, allocations: 8 kB / 0.6839 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000456/2.217, allocations: 0.6585 MB / 0.6845 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.217, allocations: 0 / 0.6845 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/2.218, allocations: 348.9 kB / 0.6849 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/2.218, allocations: 104.8 kB / 0.685 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/2.218, allocations: 11.84 kB / 0.685 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/2.218, allocations: 8.062 kB / 0.685 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/2.218, allocations: 7.984 kB / 0.685 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/2.218, allocations: 8 kB / 0.685 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002348/2.218, allocations: 237.9 kB / 0.6852 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.465e-06/2.218, allocations: 0 / 0.6852 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003481/2.222, allocations: 1.191 MB / 0.6864 GB, free: 4.613 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 (11): * Single equations (assignments): 10 * 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.007034/2.229, allocations: 1.791 MB / 0.6881 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006778/2.229, allocations: 230.7 kB / 0.6884 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.229, allocations: 256 / 0.6884 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/2.23, allocations: 95.69 kB / 0.6884 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/2.231, allocations: 120.6 kB / 0.6886 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/2.232, allocations: 0.6372 MB / 0.6892 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/2.232, allocations: 0.7712 MB / 0.6899 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/2.232, allocations: 23.44 kB / 0.69 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/2.232, allocations: 0 / 0.69 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of Templates: time 0.2488/2.481, allocations: 24.87 MB / 0.7142 GB, free: 218.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLossCalcHelperMain.o] Error 1