Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7652/0.7652, allocations: 150.9 MB / 166.6 MB, free: 14.72 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002604, allocations: 19.91 kB / 204.6 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 31.33 MB / 236 MB, free: 5.457 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.TestPipePressureLoss): time 1.507/1.645, allocations: 292.6 MB / 0.5162 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04531/1.691, allocations: 37.56 MB / 0.5528 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/1.691, allocations: 0 / 0.5528 GB, free: 8.477 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.0003821/1.691, allocations: 84.67 kB / 0.5529 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/1.691, allocations: 87.3 kB / 0.553 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02215/1.714, allocations: 7.159 MB / 0.56 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004781/1.714, allocations: 322.5 kB / 0.5603 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/1.714, allocations: 107.9 kB / 0.5604 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/1.715, allocations: 123.4 kB / 0.5605 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/1.715, allocations: 107.4 kB / 0.5606 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/1.715, allocations: 12 kB / 0.5606 GB, free: 500 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/1.741, allocations: 17.74 MB / 0.578 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/1.741, allocations: 39.8 kB / 0.578 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/1.742, allocations: 127.3 kB / 0.5781 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008997/1.751, allocations: 5.696 MB / 0.5837 GB, free: 8.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.751, allocations: 4 kB / 0.5837 GB, free: 8.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.213e-06/1.751, allocations: 0 / 0.5837 GB, free: 8.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/1.751, allocations: 0 / 0.5837 GB, free: 8.844 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.003481/1.754, allocations: 1.435 MB / 0.5851 GB, free: 7.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.754, allocations: 12.03 kB / 0.5851 GB, free: 7.348 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/1.754, allocations: 31.56 kB / 0.5851 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/1.754, allocations: 223.9 kB / 0.5853 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/1.754, allocations: 12.44 kB / 0.5854 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/1.754, allocations: 23.98 kB / 0.5854 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/1.755, allocations: 303.3 kB / 0.5857 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/1.755, allocations: 0 / 0.5857 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.755, allocations: 4 kB / 0.5857 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/1.755, allocations: 19.92 kB / 0.5857 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/1.755, allocations: 165.1 kB / 0.5858 GB, free: 6.516 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.03463/1.79, allocations: 18.02 MB / 0.6034 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/1.79, allocations: 139.2 kB / 0.6036 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/1.79, allocations: 88.84 kB / 0.6037 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1383/1.929, allocations: 77.27 MB / 0.6791 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.929, allocations: 30.56 kB / 0.6791 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/1.929, allocations: 0 / 0.6791 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.001048/1.93, allocations: 455.3 kB / 0.6796 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.93, allocations: 51.41 kB / 0.6796 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/1.93, allocations: 227 kB / 0.6798 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.93, allocations: 29.64 kB / 0.6799 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/1.93, allocations: 148.5 kB / 0.68 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/1.93, allocations: 110.4 kB / 0.6801 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/1.93, allocations: 45.69 kB / 0.6802 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.93, allocations: 334.8 kB / 0.6805 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/1.931, allocations: 67.97 kB / 0.6805 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/1.931, allocations: 120.2 kB / 0.6807 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/1.931, allocations: 208.6 kB / 0.6809 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.931, allocations: 0 / 0.6809 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004226/1.931, allocations: 297.6 kB / 0.6811 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.931, allocations: 20.05 kB / 0.6812 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.931, allocations: 0 / 0.6812 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009262/1.932, allocations: 153.5 kB / 0.6813 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/1.932, allocations: 15.94 kB / 0.6813 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000535/1.933, allocations: 0.635 MB / 0.6819 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.933, allocations: 23.75 kB / 0.682 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/1.933, allocations: 4 kB / 0.682 GB, free: 9.273 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.0001339/1.933, allocations: 141.7 kB / 0.6821 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/1.933, allocations: 27.78 kB / 0.6821 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007494/1.934, allocations: 0.5875 MB / 0.6827 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003585/1.934, allocations: 232.3 kB / 0.6829 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.934, allocations: 0 / 0.6829 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.934, allocations: 0 / 0.6829 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/1.935, allocations: 0.7284 MB / 0.6836 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.935, allocations: 0 / 0.6836 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/1.936, allocations: 27.86 kB / 0.6837 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/1.936, allocations: 128.7 kB / 0.6838 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/1.936, allocations: 8 kB / 0.6838 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004634/1.937, allocations: 0.6587 MB / 0.6844 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.937, allocations: 0 / 0.6844 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/1.937, allocations: 340.9 kB / 0.6848 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/1.937, allocations: 108.9 kB / 0.6849 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/1.937, allocations: 19.83 kB / 0.6849 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.937, allocations: 8 kB / 0.6849 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/1.937, allocations: 11.98 kB / 0.6849 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/1.937, allocations: 0 / 0.6849 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00022/1.938, allocations: 234 kB / 0.6851 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.938, allocations: 0 / 0.6851 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002847/1.94, allocations: 1.191 MB / 0.6863 GB, free: 4.641 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.005552/1.946, allocations: 1.779 MB / 0.688 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000535/1.946, allocations: 233.6 kB / 0.6883 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.946, allocations: 0 / 0.6883 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/1.947, allocations: 88.67 kB / 0.6883 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/1.947, allocations: 131.3 kB / 0.6885 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/1.948, allocations: 0.6341 MB / 0.6891 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.949, allocations: 0.7712 MB / 0.6898 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/1.949, allocations: 23.38 kB / 0.6899 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/1.949, allocations: 0 / 0.6899 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of Templates: time 0.1914/2.14, allocations: 24.88 MB / 0.7142 GB, free: 219.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o] Error 1