Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01035/0.01035, allocations: 1.757 MB / 21.34 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107.1 kB / 24.95 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 207.5 kB / 28.67 MB, free: 3.438 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 230.6 MB / 262.8 MB, free: 6.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.086/1.086, allocations: 130.7 MB / 450.4 MB, free: 6.586 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.inlet.m_flow|GasFanAdvanced.kappa_nom_rp2|GasFanAdvanced.kappa_nom_st.1.|GasFanAdvanced.kappa_nom_st_vigv.1.|GasFanAdvanced.kappa_rp2|GasFanAdvanced.kappa_st.1.|Time|speed.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage") translateModel(ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.inlet.m_flow|GasFanAdvanced.kappa_nom_rp2|GasFanAdvanced.kappa_nom_st.1.|GasFanAdvanced.kappa_nom_st_vigv.1.|GasFanAdvanced.kappa_rp2|GasFanAdvanced.kappa_st.1.|Time|speed.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03481/0.03481, allocations: 20.78 MB / 0.637 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.2216, allocations: 81.91 MB / 0.7169 GB, free: 2.656 MB / 0.5294 GB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage): time 0.5171/0.7386, allocations: 44.18 MB / 0.7601 GB, free: 21.52 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.7648, allocations: 19.68 MB / 0.7793 GB, free: 7.637 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.7673, allocations: 39.78 kB / 0.7793 GB, free: 7.625 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.003383/0.7706, allocations: 0.9989 MB / 0.7803 GB, free: 7.176 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.7738, allocations: 0.8298 MB / 0.7811 GB, free: 6.684 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009885/0.7837, allocations: 3.414 MB / 0.7845 GB, free: 4.992 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005382/0.789, allocations: 3.091 MB / 0.7875 GB, free: 3.605 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/0.7926, allocations: 2.077 MB / 0.7895 GB, free: 2.242 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.7961, allocations: 1.806 MB / 0.7913 GB, free: 1.207 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.801, allocations: 2.995 MB / 0.7942 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002667/0.8037, allocations: 0.7429 MB / 0.7949 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.8158, allocations: 4.883 MB / 0.7997 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.004838/0.8206, allocations: 3.03 MB / 0.8026 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.007217/0.8278, allocations: 3.343 MB / 0.8059 GB, free: 7.648 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0268/0.8546, allocations: 13.39 MB / 0.819 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8546, allocations: 0 / 0.819 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8546, allocations: 0 / 0.819 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003179/0.8549, allocations: 0 / 0.819 GB, free: 10.22 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.02294/0.8779, allocations: 7.756 MB / 0.8266 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.8779, allocations: 12.03 kB / 0.8266 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.8828, allocations: 0.8441 MB / 0.8274 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/0.9054, allocations: 9.173 MB / 0.8364 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/0.9059, allocations: 277.8 kB / 0.8366 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.9074, allocations: 159.9 kB / 0.8368 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.9233, allocations: 6.613 MB / 0.8432 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.9234, allocations: 4 kB / 0.8432 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007543/0.9242, allocations: 104 kB / 0.8433 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.9244, allocations: 190.2 kB / 0.8435 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.9464, allocations: 11.61 MB / 0.8549 GB, free: 4.777 MB / 0.6232 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.03607/0.9825, allocations: 15.16 MB / 0.8697 GB, free: 5.484 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.9949, allocations: 4.699 MB / 0.8742 GB, free: 0.7734 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004205/0.9991, allocations: 2.493 MB / 0.8767 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.9998, allocations: 264.8 kB / 0.8769 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009098/1.009, allocations: 3.335 MB / 0.8802 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=229): time 7.294e-06/1.009, allocations: 0 / 0.8802 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=231): time 0.04508/1.054, allocations: 19.98 MB / 0.8997 GB, free: 6.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003134/1.054, allocations: 393.8 kB / 0.9001 GB, free: 6.117 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.066, allocations: 6.618 MB / 0.9065 GB, free: 15.5 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.0006789/1.067, allocations: 65.7 kB / 0.9066 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002486/1.069, allocations: 2.145 MB / 0.9087 GB, free: 13.29 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.071, allocations: 0.8056 MB / 0.9095 GB, free: 12.47 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/1.072, allocations: 0.5782 MB / 0.9101 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.072, allocations: 301.1 kB / 0.9103 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/1.077, allocations: 3.021 MB / 0.9133 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005369/1.082, allocations: 3.41 MB / 0.9166 GB, free: 5.023 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009679/1.092, allocations: 6.088 MB / 0.9226 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.092, allocations: 4 kB / 0.9226 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0127/1.105, allocations: 7.265 MB / 0.9297 GB, free: 7.48 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/1.105, allocations: 45.69 kB / 0.9297 GB, free: 7.43 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.105, allocations: 8 kB / 0.9297 GB, free: 7.422 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/1.105, allocations: 16 kB / 0.9297 GB, free: 7.406 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/1.109, allocations: 0.6567 MB / 0.9304 GB, free: 6.754 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/1.11, allocations: 1.372 MB / 0.9317 GB, free: 5.277 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.113, allocations: 113.2 kB / 0.9318 GB, free: 5.172 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/1.114, allocations: 163.9 kB / 0.932 GB, free: 5.012 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 (VIGVTimeTable.nextEventScaled,VIGVTimeTable.nextEvent,$PRE.VIGVTimeTable.nextEvent,VIGVTimeTable.last,VIGVTimeTable.b,VIGVTimeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.00353/1.117, allocations: 1.691 MB / 0.9336 GB, free: 3.305 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.118, allocations: 0.5781 MB / 0.9342 GB, free: 2.723 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.131, allocations: 6.799 MB / 0.9408 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.131, allocations: 23.94 kB / 0.9409 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.131, allocations: 7.938 kB / 0.9409 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/1.131, allocations: 14.58 kB / 0.9409 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04132/1.172, allocations: 22.88 MB / 0.9632 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/1.172, allocations: 16 kB / 0.9632 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/1.175, allocations: 0.5279 MB / 0.9637 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-05/1.175, allocations: 28 kB / 0.9638 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/1.175, allocations: 112 kB / 0.9639 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/1.176, allocations: 1.387 MB / 0.9652 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.433e-05/1.176, allocations: 27.88 kB / 0.9653 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.191, allocations: 9.12 MB / 0.9742 GB, free: 9.188 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/1.195, allocations: 1.271 MB / 0.9754 GB, free: 7.902 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.196, allocations: 79.09 kB / 0.9755 GB, free: 7.828 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/1.199, allocations: 86.61 kB / 0.9756 GB, free: 7.746 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/1.2, allocations: 252.5 kB / 0.9758 GB, free: 7.508 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005111/1.2, allocations: 199.9 kB / 0.976 GB, free: 7.312 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.009526/1.21, allocations: 4.751 MB / 0.9806 GB, free: 2.574 MB / 0.7482 GB Notification: Performance of sort global known variables: time 2.6e-07/1.21, allocations: 0 / 0.9806 GB, free: 2.574 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.004436/1.214, allocations: 0.9522 MB / 0.9816 GB, free: 1.621 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 80 * Number of states: 7 (GasFanAdvanced.inlet.m_flow,GasFanAdvanced.kappa_st[1],GasFanAdvanced.kappa_nom_st[1],GasFanAdvanced.kappa_nom_st_vigv[1],GasFanAdvanced.kappa_nom_rp2,GasFanAdvanced.kappa_rp2,speed.phi) * Number of discrete variables: 6 ($whenCondition1,VIGVTimeTable.a,VIGVTimeTable.b,VIGVTimeTable.last,VIGVTimeTable.nextEvent,VIGVTimeTable.nextEventScaled) * Number of discrete states: 6 (VIGVTimeTable.nextEvent,VIGVTimeTable.last,VIGVTimeTable.nextEventScaled,VIGVTimeTable.b,VIGVTimeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002805/1.217, allocations: 0.9607 MB / 0.9825 GB, free: 0.9922 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.009211/1.226, allocations: 5.374 MB / 0.9878 GB, free: 11.61 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-05/1.226, allocations: 6.641 kB / 0.9878 GB, free: 11.61 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.004225/1.23, allocations: 2.32 MB / 0.99 GB, free: 9.281 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/1.235, allocations: 0.9288 MB / 0.9909 GB, free: 8.449 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.256, allocations: 11.52 MB / 1.002 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.26, allocations: 3.124 MB / 1.005 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/1.262, allocations: 476.8 kB / 1.006 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of SimCode: time 1.573e-06/1.262, allocations: 2.719 kB / 1.006 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of Templates: time 0.5/1.762, allocations: 98.96 MB / 1.102 GB, free: 322.7 MB / 0.8263 GB " [Timeout remaining time 798] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage.makefile [Timeout 800] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStage.makefile clang++ -std=c++17 -fopenmp=libomp -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageCalcHelperMain.o OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageCalcHelperMain.cpp In file included from OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageCalcHelperMain.cpp:28: ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:744:14: error: no matching function for call to 'TILMedia_MoistAir_phi_pThumRatioxidg' phi__ext = TILMedia_MoistAir_phi_pThumRatioxidg(p__ext, T__ext, humRatio__ext, ConstArray(xi_dryGas_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:101:8: note: candidate function not viable: 4th argument ('const double *') would lose const qualifier double TILMedia_MoistAir_phi_pThumRatioxidg(double, double, double, double*, void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:770:21: error: no matching function for call to 'TILMedia_Gas_saturationHumidityRatio_pTxidg' humRatio_s__ext = TILMedia_Gas_saturationHumidityRatio_pTxidg(p__ext, T__ext, ConstArray(xi_dryGas_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:100:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_saturationHumidityRatio_pTxidg(double, double, double*, void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:798:21: error: no matching function for call to 'TILMedia_GasObjectFunctions_densityDerivativeWRTmassFraction_phxin' drhodxi_ph__ext = TILMedia_GasObjectFunctions_densityDerivativeWRTmassFraction_phxin(p__ext, h__ext, ConstArray(xi_).getData(), compNo__ext, gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:99:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_densityDerivativeWRTmassFraction_phxin(double,double,double*,int, void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:824:21: error: no matching function for call to 'TILMedia_GasObjectFunctions_densityDerivativeWRTpressure_phxi' drhodp_hxi__ext = TILMedia_GasObjectFunctions_densityDerivativeWRTpressure_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:98:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_densityDerivativeWRTpressure_phxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:850:21: error: no matching function for call to 'TILMedia_GasObjectFunctions_densityDerivativeWRTspecificEnthalpy_phxi' drhodh_pxi__ext = TILMedia_GasObjectFunctions_densityDerivativeWRTspecificEnthalpy_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:97:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_densityDerivativeWRTspecificEnthalpy_phxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:876:12: error: no matching function for call to 'TILMedia_GasObjectFunctions_density_pTxi' d__ext = TILMedia_GasObjectFunctions_density_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:96:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_density_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:902:17: error: no matching function for call to 'TILMedia_GasObjectFunctions_gaseousMassFraction_pTxi' xi_gas__ext = TILMedia_GasObjectFunctions_gaseousMassFraction_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:95:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_gaseousMassFraction_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:928:15: error: no matching function for call to 'TILMedia_GasObjectFunctions_isobaricThermalExpansionCoefficient_phxi' beta__ext = TILMedia_GasObjectFunctions_isobaricThermalExpansionCoefficient_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:94:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_isobaricThermalExpansionCoefficient_phxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:954:16: error: no matching function for call to 'TILMedia_GasObjectFunctions_isothermalCompressibility_pTxi' kappa__ext = TILMedia_GasObjectFunctions_isothermalCompressibility_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:93:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_isothermalCompressibility_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1006:14: error: no matching function for call to 'TILMedia_GasObjectFunctions_partialPressure_pTxin' p_i__ext = TILMedia_GasObjectFunctions_partialPressure_pTxin(p__ext, T__ext, ConstArray(xi_).getData(), compNo__ext, gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:91:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_partialPressure_pTxin(double,double,double*,int, void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1032:15: error: no matching function for call to 'TILMedia_Gas_saturationMassFraction_pTxidg' xi_s__ext = TILMedia_Gas_saturationMassFraction_pTxidg(p__ext, T__ext, ConstArray(xi_dryGas_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:90:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_saturationMassFraction_pTxidg(double, double, double*, void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1156:12: error: no matching function for call to 'TILMedia_GasObjectFunctions_specificEnthalpy_pTxi' h__ext = TILMedia_GasObjectFunctions_specificEnthalpy_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:85:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_specificEnthalpy_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1182:12: error: no matching function for call to 'TILMedia_GasObjectFunctions_specificEntropy_pTxi' s__ext = TILMedia_GasObjectFunctions_specificEntropy_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:84:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_specificEntropy_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1208:13: error: no matching function for call to 'TILMedia_GasObjectFunctions_specificIsobaricHeatCapacity_pTxi' cp__ext = TILMedia_GasObjectFunctions_specificIsobaricHeatCapacity_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:83:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_specificIsobaricHeatCapacity_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1234:13: error: no matching function for call to 'TILMedia_GasObjectFunctions_specificIsobaricHeatCapacity_phxi' cp__ext = TILMedia_GasObjectFunctions_specificIsobaricHeatCapacity_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:82:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_specificIsobaricHeatCapacity_phxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1260:13: error: no matching function for call to 'TILMedia_GasObjectFunctions_specificIsochoricHeatCapacity_pTxi' cv__ext = TILMedia_GasObjectFunctions_specificIsochoricHeatCapacity_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:81:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_specificIsochoricHeatCapacity_pTxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1286:13: error: no matching function for call to 'TILMedia_GasObjectFunctions_specificIsochoricHeatCapacity_phxi' cv__ext = TILMedia_GasObjectFunctions_specificIsochoricHeatCapacity_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:80:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_specificIsochoricHeatCapacity_phxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1312:12: error: no matching function for call to 'TILMedia_GasObjectFunctions_speedOfSound_phxi' w__ext = TILMedia_GasObjectFunctions_speedOfSound_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:79:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_GasObjectFunctions_speedOfSound_phxi(double,double,double*,void*); ^ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:1339:25: error: no matching function for call to 'TILMedia_createExternalObject' externalObject__ext = TILMedia_createExternalObject(objectType_.c_str(), mediumName_.c_str(), flags__ext, ConstArray(xi_).getData(), nc__ext, condensingIndex__ext, instanceName_.c_str()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageFunctions.cpp:46:7: note: candidate function not viable: 4th argument ('const double *') would lose const qualifier void* TILMedia_createExternalObject(const char* objectType, const char* mixtureName, int flags, double* xi, int _nc, int condensingIndex, const char* instanceName) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testSingleTurbineStageCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.47440282208845] Failed to read output from testmodel.py, exit status != 0: 1.9602263090200722 1.971453803 1.114293507 Calling exit ...