Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8282/0.8282, allocations: 150.8 MB / 166.6 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 15.97 kB / 204.6 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 31.33 MB / 236 MB, free: 5.453 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.TestBend): time 1.767/1.978, allocations: 292.8 MB / 0.5164 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04511/2.023, allocations: 38.24 MB / 0.5537 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/2.023, allocations: 0 / 0.5537 GB, free: 7.633 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/Bend.mo:55:3-57: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/Bend.mo:58:3-60:43: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.000625/2.024, allocations: 256.1 kB / 0.554 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/2.024, allocations: 243 kB / 0.5542 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02543/2.05, allocations: 7.346 MB / 0.5614 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000856/2.05, allocations: 474.8 kB / 0.5618 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/2.051, allocations: 175.1 kB / 0.562 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/2.051, allocations: 203.2 kB / 0.5622 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/2.051, allocations: 295.1 kB / 0.5625 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/2.051, allocations: 16 kB / 0.5625 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03436/2.086, allocations: 17.87 MB / 0.5799 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/2.086, allocations: 175.4 kB / 0.5801 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003594/2.086, allocations: 262.2 kB / 0.5804 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/2.101, allocations: 6.047 MB / 0.5863 GB, free: 6.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/2.101, allocations: 0 / 0.5863 GB, free: 6.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/2.101, allocations: 0 / 0.5863 GB, free: 6.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/2.101, allocations: 0 / 0.5863 GB, free: 6.266 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005916/2.107, allocations: 1.819 MB / 0.588 GB, free: 4.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/2.107, allocations: 16.03 kB / 0.5881 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/2.107, allocations: 67.16 kB / 0.5881 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/2.108, allocations: 490.2 kB / 0.5886 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/2.108, allocations: 20.56 kB / 0.5886 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/2.108, allocations: 24 kB / 0.5886 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/2.108, allocations: 437.2 kB / 0.589 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/2.109, allocations: 0 / 0.589 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/2.109, allocations: 12 kB / 0.5891 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/2.109, allocations: 15.98 kB / 0.5891 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/2.109, allocations: 341.7 kB / 0.5894 GB, free: 2.922 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.03532/2.144, allocations: 18.58 MB / 0.6075 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/2.145, allocations: 178.6 kB / 0.6077 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/2.145, allocations: 102.6 kB / 0.6078 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1471/2.292, allocations: 77.47 MB / 0.6835 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/2.292, allocations: 34.56 kB / 0.6835 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.374e-06/2.292, allocations: 0 / 0.6835 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001907/2.294, allocations: 0.5918 MB / 0.6841 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/2.294, allocations: 110.8 kB / 0.6842 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/2.296, allocations: 1.004 MB / 0.6852 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/2.296, allocations: 33.7 kB / 0.6852 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/2.296, allocations: 304.1 kB / 0.6855 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/2.296, allocations: 126.1 kB / 0.6856 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/2.296, allocations: 65.59 kB / 0.6857 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001687/2.297, allocations: 382.7 kB / 0.686 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/2.297, allocations: 156.4 kB / 0.6862 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/2.297, allocations: 239.1 kB / 0.6864 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/2.297, allocations: 336.8 kB / 0.6867 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.297, allocations: 0 / 0.6867 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008014/2.298, allocations: 0.5276 MB / 0.6872 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/2.298, allocations: 8.219 kB / 0.6873 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.298, allocations: 4 kB / 0.6873 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/2.3, allocations: 217.8 kB / 0.6875 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/2.3, allocations: 23.92 kB / 0.6875 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/2.301, allocations: 0.6898 MB / 0.6882 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/2.301, allocations: 39.53 kB / 0.6882 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/2.301, allocations: 16.05 kB / 0.6882 GB, free: 2.844 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002739/2.301, allocations: 245.8 kB / 0.6884 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/2.302, allocations: 59.16 kB / 0.6885 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/2.302, allocations: 0.7151 MB / 0.6892 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003493/2.303, allocations: 250.4 kB / 0.6894 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/2.303, allocations: 0.9844 kB / 0.6894 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/2.303, allocations: 0 / 0.6894 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/2.304, allocations: 0.9883 MB / 0.6904 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/2.304, allocations: 0 / 0.6904 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/2.304, allocations: 23.92 kB / 0.6904 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/2.305, allocations: 216.6 kB / 0.6906 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/2.305, allocations: 0 / 0.6906 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1981/2.504, allocations: 0.7118 MB / 0.6913 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/2.504, allocations: 1.844 kB / 0.6913 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/2.504, allocations: 402.9 kB / 0.6917 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/2.504, allocations: 173.2 kB / 0.6919 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/2.504, allocations: 13.64 kB / 0.6919 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/2.505, allocations: 12.44 kB / 0.6919 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/2.505, allocations: 15.64 kB / 0.6919 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/2.505, allocations: 6.203 kB / 0.6919 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009221/2.506, allocations: 0.8122 MB / 0.6927 GB, free: 225 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/2.506, allocations: 1.125 kB / 0.6927 GB, free: 225 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003863/2.51, allocations: 1.253 MB / 0.6939 GB, free: 225 MB / 0.5762 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00571/2.515, allocations: 1.829 MB / 0.6957 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007841/2.516, allocations: 357.7 kB / 0.6961 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.516, allocations: 0 / 0.6961 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/2.516, allocations: 110.9 kB / 0.6962 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/2.517, allocations: 150.2 kB / 0.6963 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/2.519, allocations: 1.368 MB / 0.6977 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/2.519, allocations: 0.9288 MB / 0.6986 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/2.519, allocations: 36.59 kB / 0.6986 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.104e-06/2.519, allocations: 1.906 kB / 0.6986 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.04617/2.566, allocations: 29.85 MB / 0.7278 GB, free: 213.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.TestBendCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBendCalcHelperMain.o] Error 1