Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8298/0.8298, allocations: 150.9 MB / 166.6 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 15.97 kB / 204.6 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 31.34 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.TestInvSingularPressureLoss): time 1.768/1.972, allocations: 292.4 MB / 0.516 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04443/2.016, allocations: 37.51 MB / 0.5527 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/2.017, allocations: 4 kB / 0.5527 GB, free: 8.652 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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/InvSingularPressureLoss.mo:26:3-28: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/InvSingularPressureLoss.mo:29:3-30:83: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.0003917/2.017, allocations: 67.62 kB / 0.5528 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/2.017, allocations: 67.45 kB / 0.5528 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02365/2.041, allocations: 7.158 MB / 0.5598 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/2.041, allocations: 262.7 kB / 0.5601 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/2.042, allocations: 96.69 kB / 0.5601 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/2.042, allocations: 111.5 kB / 0.5603 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/2.042, allocations: 91.45 kB / 0.5603 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/2.042, allocations: 12 kB / 0.5604 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03045/2.072, allocations: 17.73 MB / 0.5777 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/2.073, allocations: 27.86 kB / 0.5777 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/2.073, allocations: 107.4 kB / 0.5778 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/2.085, allocations: 5.676 MB / 0.5833 GB, free: 9.215 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/2.085, allocations: 0 / 0.5833 GB, free: 9.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.864e-06/2.085, allocations: 0 / 0.5833 GB, free: 9.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/2.085, allocations: 0 / 0.5833 GB, free: 9.215 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005074/2.091, allocations: 1.392 MB / 0.5847 GB, free: 7.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/2.091, allocations: 12.03 kB / 0.5847 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/2.091, allocations: 23.66 kB / 0.5847 GB, free: 7.734 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/2.091, allocations: 227.9 kB / 0.585 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/2.091, allocations: 12.38 kB / 0.585 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/2.091, allocations: 24 kB / 0.585 GB, free: 7.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/2.092, allocations: 256.1 kB / 0.5852 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/2.092, allocations: 3.938 kB / 0.5852 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/2.092, allocations: 8 kB / 0.5852 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/2.092, allocations: 8 kB / 0.5853 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/2.092, allocations: 153 kB / 0.5854 GB, free: 7 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.01895/2.111, allocations: 9.492 MB / 0.5947 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/2.111, allocations: 79.2 kB / 0.5947 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/2.111, allocations: 60.89 kB / 0.5948 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1469/2.258, allocations: 77.27 MB / 0.6703 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/2.258, allocations: 38.55 kB / 0.6703 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.314e-06/2.258, allocations: 0 / 0.6703 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0005983/2.259, allocations: 195.4 kB / 0.6705 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/2.259, allocations: 63.39 kB / 0.6705 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/2.259, allocations: 224.8 kB / 0.6708 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/2.259, allocations: 25.7 kB / 0.6708 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/2.259, allocations: 140.2 kB / 0.6709 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/2.26, allocations: 78.78 kB / 0.671 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/2.26, allocations: 41.69 kB / 0.671 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001281/2.26, allocations: 330.8 kB / 0.6713 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/2.26, allocations: 55.97 kB / 0.6714 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/2.26, allocations: 100.7 kB / 0.6715 GB, free: 5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/2.26, allocations: 156.1 kB / 0.6716 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/2.26, allocations: 0 / 0.6716 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003589/2.261, allocations: 199 kB / 0.6718 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/2.261, allocations: 4 kB / 0.6718 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/2.261, allocations: 0 / 0.6718 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/2.261, allocations: 4 kB / 0.6718 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/2.261, allocations: 96 kB / 0.6719 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/2.261, allocations: 4.078 kB / 0.6719 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/2.262, allocations: 35.58 kB / 0.672 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/2.262, allocations: 7.984 kB / 0.672 GB, free: 4.484 MB / 0.5606 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 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/2.262, allocations: 137.7 kB / 0.6721 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/2.262, allocations: 23.72 kB / 0.6721 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/2.262, allocations: 324.8 kB / 0.6724 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002372/2.263, allocations: 149.6 kB / 0.6726 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/2.263, allocations: 3.938 kB / 0.6726 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/2.263, allocations: 4 kB / 0.6726 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/2.263, allocations: 0.6002 MB / 0.6732 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/2.263, allocations: 7.969 kB / 0.6732 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/2.264, allocations: 91.89 kB / 0.6733 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/2.264, allocations: 0 / 0.6733 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/2.264, allocations: 7.984 kB / 0.6733 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/2.264, allocations: 0 / 0.6733 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/2.264, allocations: 0 / 0.6733 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/2.264, allocations: 292.6 kB / 0.6736 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/2.264, allocations: 112.8 kB / 0.6737 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/2.265, allocations: 3.938 kB / 0.6737 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/2.265, allocations: 8 kB / 0.6737 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/2.265, allocations: 19.92 kB / 0.6737 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/2.265, allocations: 4 kB / 0.6737 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001925/2.265, allocations: 206 kB / 0.6739 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/2.265, allocations: 0 / 0.6739 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003333/2.268, allocations: 1.171 MB / 0.675 GB, free: 1.211 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006368/2.275, allocations: 1.778 MB / 0.6768 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004862/2.275, allocations: 193.4 kB / 0.677 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/2.275, allocations: 11.88 kB / 0.677 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/2.275, allocations: 64.28 kB / 0.677 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/2.276, allocations: 113.1 kB / 0.6771 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/2.277, allocations: 0.5509 MB / 0.6777 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/2.277, allocations: 0.7558 MB / 0.6784 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/2.277, allocations: 23.44 kB / 0.6784 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/2.277, allocations: 0 / 0.6784 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.2283/2.506, allocations: 23.29 MB / 0.7012 GB, free: 214.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.TestInvSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.o] Error 1