Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8439/0.8439, allocations: 150.8 MB / 166.6 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 19.97 kB / 204.6 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 31.34 MB / 236 MB, free: 5.449 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.TestSingularPressureLoss): time 1.78/1.962, allocations: 292.6 MB / 0.5162 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04704/2.009, allocations: 37.54 MB / 0.5529 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/2.009, allocations: 3.938 kB / 0.5529 GB, free: 8.512 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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52: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.0004767/2.01, allocations: 84.67 kB / 0.5529 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/2.01, allocations: 79.38 kB / 0.553 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0259/2.036, allocations: 7.161 MB / 0.56 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/2.037, allocations: 310.5 kB / 0.5603 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/2.037, allocations: 98.86 kB / 0.5604 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/2.037, allocations: 127.4 kB / 0.5605 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/2.037, allocations: 103.4 kB / 0.5606 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/2.037, allocations: 12 kB / 0.5606 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03369/2.071, allocations: 17.73 MB / 0.5779 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/2.071, allocations: 35.84 kB / 0.578 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/2.071, allocations: 127.3 kB / 0.5781 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/2.084, allocations: 5.684 MB / 0.5836 GB, free: 8.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/2.085, allocations: 0 / 0.5836 GB, free: 8.941 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/2.085, allocations: 0 / 0.5836 GB, free: 8.941 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/2.085, allocations: 0 / 0.5836 GB, free: 8.941 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.004933/2.089, allocations: 1.42 MB / 0.585 GB, free: 7.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/2.09, allocations: 8.031 kB / 0.585 GB, free: 7.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/2.09, allocations: 39.5 kB / 0.5851 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/2.09, allocations: 222.6 kB / 0.5853 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/2.09, allocations: 16.44 kB / 0.5853 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/2.09, allocations: 16 kB / 0.5853 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/2.09, allocations: 286.8 kB / 0.5856 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/2.09, allocations: 4 kB / 0.5856 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/2.09, allocations: 11.94 kB / 0.5856 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/2.09, allocations: 11.98 kB / 0.5856 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/2.091, allocations: 161 kB / 0.5858 GB, free: 6.645 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.03531/2.126, allocations: 18 MB / 0.6034 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/2.126, allocations: 122.5 kB / 0.6035 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/2.127, allocations: 80.95 kB / 0.6035 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1452/2.272, allocations: 77.27 MB / 0.679 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/2.272, allocations: 30.56 kB / 0.679 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/2.272, allocations: 0 / 0.679 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.0009624/2.273, allocations: 408.2 kB / 0.6794 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/2.273, allocations: 59.34 kB / 0.6795 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/2.273, allocations: 211.7 kB / 0.6797 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/2.273, allocations: 25.7 kB / 0.6797 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/2.273, allocations: 144.5 kB / 0.6798 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/2.273, allocations: 110.4 kB / 0.6799 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/2.273, allocations: 49.55 kB / 0.68 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001683/2.274, allocations: 338.8 kB / 0.6803 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/2.274, allocations: 68.3 kB / 0.6804 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/2.274, allocations: 110.2 kB / 0.6805 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/2.274, allocations: 197.5 kB / 0.6807 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/2.274, allocations: 4.062 kB / 0.6807 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000436/2.275, allocations: 284.1 kB / 0.681 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/2.275, allocations: 8 kB / 0.681 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/2.275, allocations: 4.125 kB / 0.681 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/2.276, allocations: 136.7 kB / 0.6811 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/2.276, allocations: 11.94 kB / 0.6811 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/2.276, allocations: 0.6108 MB / 0.6817 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/2.276, allocations: 27.59 kB / 0.6817 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/2.276, allocations: 4 kB / 0.6817 GB, free: 9.574 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 (singularPressureLoss.C2.b,singularPressureLoss.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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.276, allocations: 142 kB / 0.6819 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/2.277, allocations: 23.66 kB / 0.6819 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/2.277, allocations: 0.5565 MB / 0.6824 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003351/2.278, allocations: 203.3 kB / 0.6826 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/2.278, allocations: 8 kB / 0.6826 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/2.278, allocations: 3.984 kB / 0.6826 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/2.278, allocations: 0.6792 MB / 0.6833 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/2.278, allocations: 0 / 0.6833 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/2.279, allocations: 27.92 kB / 0.6833 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/2.279, allocations: 118.4 kB / 0.6834 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/2.279, allocations: 0 / 0.6834 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000449/2.28, allocations: 0.6343 MB / 0.6841 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.28, allocations: 0 / 0.6841 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/2.28, allocations: 307.8 kB / 0.6844 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/2.28, allocations: 104.8 kB / 0.6845 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/2.28, allocations: 15.83 kB / 0.6845 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/2.28, allocations: 4 kB / 0.6845 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/2.28, allocations: 4 kB / 0.6845 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/2.28, allocations: 12.05 kB / 0.6845 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002349/2.28, allocations: 230 kB / 0.6847 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/2.28, allocations: 3.938 kB / 0.6847 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003534/2.284, allocations: 1.179 MB / 0.6859 GB, free: 5.133 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007084/2.291, allocations: 1.811 MB / 0.6876 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006308/2.292, allocations: 226.7 kB / 0.6878 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/2.292, allocations: 0 / 0.6878 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/2.292, allocations: 84.14 kB / 0.6879 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/2.293, allocations: 116.4 kB / 0.688 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/2.294, allocations: 0.5938 MB / 0.6886 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/2.294, allocations: 0.7635 MB / 0.6894 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/2.294, allocations: 23.44 kB / 0.6894 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/2.294, allocations: 4 kB / 0.6894 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of Templates: time 0.2285/2.523, allocations: 24.76 MB / 0.7136 GB, free: 219.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.o] Error 1