Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8035/0.8035, allocations: 150.8 MB / 166.6 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 15.98 kB / 204.6 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 31.33 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.597/1.772, allocations: 293.9 MB / 0.5175 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03091/1.803, allocations: 27.05 MB / 0.5439 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/1.803, allocations: 4 kB / 0.5439 GB, free: 1.688 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25: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/BoundaryConditions/SourceQ.mo:24:3-25: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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37:writable] Warning: Connector Ec 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42:writable] Warning: Connector Ef 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37:writable] Warning: Connector Sf 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0005676/1.804, allocations: 176.2 kB / 0.5441 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/1.804, allocations: 190.5 kB / 0.5443 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/1.819, allocations: 5.469 MB / 0.5496 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009305/1.82, allocations: 0.7592 MB / 0.5504 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/1.82, allocations: 230.4 kB / 0.5506 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/1.82, allocations: 282.6 kB / 0.5508 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/1.821, allocations: 250.7 kB / 0.5511 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/1.821, allocations: 24 kB / 0.5511 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02507/1.846, allocations: 16.95 MB / 0.5677 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/1.846, allocations: 91.55 kB / 0.5677 GB, free: 9.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/1.846, allocations: 294.4 kB / 0.568 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008614/1.855, allocations: 4.701 MB / 0.5726 GB, free: 4.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.855, allocations: 0 / 0.5726 GB, free: 4.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.31e-07/1.855, allocations: 0 / 0.5726 GB, free: 4.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/1.855, allocations: 0 / 0.5726 GB, free: 4.266 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004263/1.859, allocations: 1.445 MB / 0.574 GB, free: 2.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.859, allocations: 8.031 kB / 0.574 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/1.859, allocations: 60.19 kB / 0.5741 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/1.86, allocations: 307.3 kB / 0.5744 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/1.86, allocations: 63.25 kB / 0.5744 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/1.86, allocations: 45.72 kB / 0.5745 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/1.861, allocations: 0.6367 MB / 0.5751 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.861, allocations: 3.938 kB / 0.5751 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/1.861, allocations: 16 kB / 0.5751 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/1.861, allocations: 27.97 kB / 0.5752 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/1.862, allocations: 443 kB / 0.5756 GB, free: 1.102 MB / 462.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.03564/1.897, allocations: 19.42 MB / 0.5945 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/1.898, allocations: 347.8 kB / 0.5949 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/1.899, allocations: 278.7 kB / 0.5951 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08125/1.98, allocations: 41.27 MB / 0.6354 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/1.98, allocations: 34.56 kB / 0.6355 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.845e-06/1.98, allocations: 0 / 0.6355 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004491/1.984, allocations: 1.451 MB / 0.6369 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.985, allocations: 51.41 kB / 0.6369 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/1.985, allocations: 345.5 kB / 0.6373 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.985, allocations: 29.7 kB / 0.6373 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.985, allocations: 201.2 kB / 0.6375 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/1.985, allocations: 326.9 kB / 0.6378 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.986, allocations: 105.7 kB / 0.6379 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.986, allocations: 362.8 kB / 0.6382 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/1.986, allocations: 196.9 kB / 0.6384 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/1.986, allocations: 290.5 kB / 0.6387 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/1.987, allocations: 0.555 MB / 0.6393 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.987, allocations: 0 / 0.6393 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001278/1.989, allocations: 0.7618 MB / 0.64 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.989, allocations: 9.078 kB / 0.64 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.989, allocations: 4 kB / 0.64 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/1.991, allocations: 0.7186 MB / 0.6407 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/1.991, allocations: 11.94 kB / 0.6407 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/1.993, allocations: 1.05 MB / 0.6417 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.993, allocations: 67.3 kB / 0.6418 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/1.993, allocations: 23.94 kB / 0.6418 GB, free: 7.051 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002097/1.993, allocations: 175.8 kB / 0.642 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/1.993, allocations: 51.25 kB / 0.6421 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/1.996, allocations: 2.063 MB / 0.6441 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001428/1.997, allocations: 1.007 MB / 0.6451 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.997, allocations: 0 / 0.6451 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/1.997, allocations: 7.984 kB / 0.6451 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/2, allocations: 2.353 MB / 0.6474 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/2, allocations: 0 / 0.6474 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/2.001, allocations: 91.91 kB / 0.6474 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/2.003, allocations: 0.7329 MB / 0.6482 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/2.003, allocations: 19.98 kB / 0.6482 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/2.004, allocations: 1.108 MB / 0.6493 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.004, allocations: 0 / 0.6493 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/2.006, allocations: 1.136 MB / 0.6504 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/2.006, allocations: 192 kB / 0.6506 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/2.006, allocations: 27.78 kB / 0.6506 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/2.006, allocations: 23.89 kB / 0.6506 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/2.006, allocations: 52.58 kB / 0.6507 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/2.007, allocations: 16 kB / 0.6507 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003693/2.007, allocations: 323.1 kB / 0.651 GB, free: 13.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/2.007, allocations: 0 / 0.651 GB, free: 13.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002874/2.01, allocations: 0.9721 MB / 0.6519 GB, free: 12.5 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004909/2.015, allocations: 1.16 MB / 0.6531 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001752/2.016, allocations: 0.9766 MB / 0.654 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/2.016, allocations: 4 kB / 0.654 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/2.018, allocations: 0.4915 MB / 0.6545 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/2.019, allocations: 384.5 kB / 0.6549 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/2.021, allocations: 1.736 MB / 0.6566 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/2.022, allocations: 0.971 MB / 0.6575 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/2.022, allocations: 43.44 kB / 0.6575 GB, free: 6.652 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/2.022, allocations: 0 / 0.6575 GB, free: 6.652 MB / 0.545 GB Notification: Performance of Templates: time 0.03898/2.061, allocations: 26.76 MB / 0.6837 GB, free: 11.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEffCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEffCalcHelperMain.o] Error 1