Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7858/0.7858, allocations: 150.9 MB / 166.6 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 15.97 kB / 204.7 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1702, allocations: 31.33 MB / 236 MB, free: 5.688 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.TestStaticExchangerWaterSteamFlueGases): time 1.575/1.745, allocations: 293.3 MB / 0.5168 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1662/1.911, allocations: 167.3 MB / 0.6802 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/1.911, allocations: 7.938 kB / 0.6802 GB, free: 5.77 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16: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/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:50:3-51:83:writable] Warning: Connector Cws2 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/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:52:3-54:16:writable] Warning: Connector Cws1 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/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:55:3-56:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:57:3-59:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/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/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003922/1.912, allocations: 89.45 kB / 0.6803 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/1.912, allocations: 127 kB / 0.6804 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01205/1.924, allocations: 4.477 MB / 0.6848 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006171/1.925, allocations: 0.5103 MB / 0.6853 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/1.925, allocations: 220.8 kB / 0.6855 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/1.925, allocations: 199.2 kB / 0.6857 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/1.926, allocations: 203 kB / 0.6859 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/1.926, allocations: 28 kB / 0.6859 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01935/1.945, allocations: 12.88 MB / 0.6985 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.945, allocations: 75.69 kB / 0.6986 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/1.945, allocations: 230.8 kB / 0.6988 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3384/2.284, allocations: 3.983 MB / 0.7027 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/2.284, allocations: 2.812 kB / 0.7027 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/2.284, allocations: 1.375 kB / 0.7027 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.705e-06/2.284, allocations: 0 / 0.7027 GB, free: 15.54 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003726/2.288, allocations: 1.185 MB / 0.7039 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/2.288, allocations: 10 kB / 0.7039 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/2.288, allocations: 48.69 kB / 0.7039 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/2.288, allocations: 284.1 kB / 0.7042 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/2.288, allocations: 32.38 kB / 0.7042 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/2.288, allocations: 38.88 kB / 0.7043 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/2.289, allocations: 0.5267 MB / 0.7048 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/2.289, allocations: 0.8125 kB / 0.7048 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/2.289, allocations: 18.22 kB / 0.7048 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/2.289, allocations: 19.17 kB / 0.7048 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/2.289, allocations: 348 kB / 0.7051 GB, free: 14.52 MB / 0.5762 GB 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.002131/2.292, allocations: 2.732 MB / 0.7078 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/2.292, allocations: 167.5 kB / 0.708 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/2.292, allocations: 102.2 kB / 0.7081 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06218/2.354, allocations: 33.26 MB / 0.7405 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/2.354, allocations: 46.33 kB / 0.7406 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/2.354, allocations: 0 / 0.7406 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.001902/2.356, allocations: 0.7162 MB / 0.7413 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/2.356, allocations: 51.41 kB / 0.7413 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/2.357, allocations: 403 kB / 0.7417 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/2.357, allocations: 29.33 kB / 0.7417 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/2.357, allocations: 209.8 kB / 0.7419 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/2.357, allocations: 128.7 kB / 0.7421 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/2.357, allocations: 72.55 kB / 0.7421 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001336/2.357, allocations: 352.4 kB / 0.7425 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/2.357, allocations: 81.09 kB / 0.7426 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/2.357, allocations: 164.6 kB / 0.7427 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/2.358, allocations: 284.3 kB / 0.743 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/2.358, allocations: 6.938 kB / 0.743 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009146/2.359, allocations: 467.7 kB / 0.7434 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/2.359, allocations: 4.406 kB / 0.7434 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/2.359, allocations: 7.609 kB / 0.7434 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008086/2.36, allocations: 302.3 kB / 0.7437 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/2.36, allocations: 43.75 kB / 0.7438 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/2.361, allocations: 1.829 MB / 0.7456 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/2.361, allocations: 54.56 kB / 0.7456 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/2.361, allocations: 10.34 kB / 0.7456 GB, free: 7.812 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (Puits_Fumees.C.a,Source_Fumees.C.b,source_Eau.C.b,EchangeurEfficacite.Cfg2.b,EchangeurEfficacite.Cfg1.a,EchangeurEfficacite.Cws1.a,EchangeurEfficacite.Cws2.b,puits_Eau.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001699/2.362, allocations: 160 kB / 0.7458 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/2.362, allocations: 42.81 kB / 0.7458 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/2.363, allocations: 0.7347 MB / 0.7465 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008017/2.363, allocations: 0.5597 MB / 0.7471 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/2.363, allocations: 3.578 kB / 0.7471 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/2.363, allocations: 3.562 kB / 0.7471 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/2.365, allocations: 1.369 MB / 0.7484 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.365, allocations: 0 / 0.7484 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/2.365, allocations: 65.67 kB / 0.7485 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/2.366, allocations: 293.3 kB / 0.7488 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/2.366, allocations: 7.156 kB / 0.7488 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/2.367, allocations: 1.861 MB / 0.7506 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.367, allocations: 256 / 0.7506 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/2.368, allocations: 0.6691 MB / 0.7512 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/2.368, allocations: 139.6 kB / 0.7514 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/2.368, allocations: 14.75 kB / 0.7514 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/2.368, allocations: 16.7 kB / 0.7514 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/2.368, allocations: 26.89 kB / 0.7514 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/2.368, allocations: 14.69 kB / 0.7514 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002429/2.369, allocations: 286.6 kB / 0.7517 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/2.369, allocations: 1.203 kB / 0.7517 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002445/2.371, allocations: 0.8545 MB / 0.7526 GB, free: 4.887 MB / 0.5919 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003436/2.375, allocations: 1.093 MB / 0.7536 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008835/2.375, allocations: 492.3 kB / 0.7541 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/2.375, allocations: 1.203 kB / 0.7541 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/2.376, allocations: 236.4 kB / 0.7543 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/2.377, allocations: 189.1 kB / 0.7545 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/2.378, allocations: 1.127 MB / 0.7556 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/2.378, allocations: 0.8598 MB / 0.7564 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/2.379, allocations: 43.45 kB / 0.7565 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/2.379, allocations: 0 / 0.7565 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of Templates: time 0.03385/2.412, allocations: 26.47 MB / 0.7823 GB, free: 2.816 MB / 0.6075 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.TestStaticExchangerWaterSteamFlueGasesCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGasesCalcHelperMain.o] Error 1