Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.conf.json 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.001967/0.001967, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002391/0.002391, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.0121/0.0121, allocations: 1.989 MB / 261.2 MB, free: 14.72 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 3.938 kB / 385.2 MB, free: 1.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.71e-05/3.951e-05, allocations: 2.281 kB / 385.2 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02383/0.02387, allocations: 17.28 MB / 402.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006302/0.03017, allocations: 5.27 MB / 407.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.03047, allocations: 4 kB / 407.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.03124, allocations: 214.5 kB / 407.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.03479, allocations: 1.217 MB / 409.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.03511, allocations: 91.3 kB / 409.2 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.03557, allocations: 325.5 kB / 409.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.03563, allocations: 12.94 kB / 409.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.0358, allocations: 143.5 kB / 409.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.03596, allocations: 83.77 kB / 409.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.03599, allocations: 8 kB / 409.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1164/0.1524, allocations: 13.32 MB / 423.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.1525, allocations: 39.78 kB / 423.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1528, allocations: 83.8 kB / 423.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.1552, allocations: 0.5141 MB / 423.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1552, allocations: 0 / 423.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1552, allocations: 3.938 kB / 423.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1552, allocations: 0 / 423.8 MB, free: 12.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008688/0.1561, allocations: 0.4933 MB / 424.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1562, allocations: 8.031 kB / 424.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009162/0.1571, allocations: 204.5 kB / 424.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1572, allocations: 129.5 kB / 424.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.1573, allocations: 20.88 kB / 424.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.1573, allocations: 24.38 kB / 424.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1579, allocations: 341.5 kB / 425 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1579, allocations: 0 / 425 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.1579, allocations: 12 kB / 425 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.158, allocations: 15.98 kB / 425 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.1584, allocations: 271.9 kB / 425.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.1598, allocations: 0.8018 MB / 426.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.16, allocations: 101.1 kB / 426.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1602, allocations: 73.8 kB / 426.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.1612, allocations: 35.97 kB / 426.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.1612, allocations: 30.56 kB / 426.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.1612, allocations: 4 kB / 426.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006189/0.1618, allocations: 318.5 kB / 426.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.1619, allocations: 85.11 kB / 426.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.162, allocations: 101.8 kB / 426.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.162, allocations: 29.64 kB / 426.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1622, allocations: 156.5 kB / 427 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1623, allocations: 123 kB / 427.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.1623, allocations: 33.7 kB / 427.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1625, allocations: 326.8 kB / 427.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1626, allocations: 63.98 kB / 427.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1628, allocations: 95.39 kB / 427.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1631, allocations: 187.3 kB / 427.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1631, allocations: 0 / 427.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003701/0.1634, allocations: 213.3 kB / 428 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1634, allocations: 12.06 kB / 428 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1635, allocations: 0 / 428 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1635, allocations: 3.938 kB / 428 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1636, allocations: 12 kB / 428 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1636, allocations: 3.938 kB / 428 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.1636, allocations: 19.84 kB / 428 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1637, allocations: 11.98 kB / 428 MB, free: 7.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state1.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.1638, allocations: 121.8 kB / 428.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.1639, allocations: 11.91 kB / 428.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.1643, allocations: 221.9 kB / 428.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1643, allocations: 7.938 kB / 428.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1643, allocations: 0 / 428.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1644, allocations: 3.984 kB / 428.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1647, allocations: 217 kB / 428.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1647, allocations: 4 kB / 428.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.1648, allocations: 4 kB / 428.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.1648, allocations: 4 kB / 428.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1648, allocations: 7.984 kB / 428.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1648, allocations: 4 kB / 428.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1648, allocations: 3.938 kB / 428.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.1653, allocations: 382.8 kB / 429 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.1653, allocations: 15.89 kB / 429 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1653, allocations: 0 / 429 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1655, allocations: 8 kB / 429 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1655, allocations: 7.938 kB / 429.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1655, allocations: 7.984 kB / 429.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.1655, allocations: 75.28 kB / 429.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1655, allocations: 0 / 429.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00051/0.1661, allocations: 99.67 kB / 429.2 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state1.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000509/0.1666, allocations: 208.5 kB / 429.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.167, allocations: 266.4 kB / 429.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.167, allocations: 4 kB / 429.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1673, allocations: 215.6 kB / 429.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.168, allocations: 100 kB / 430 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1691, allocations: 0.5114 MB / 430.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1694, allocations: 195.2 kB / 430.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.1696, allocations: 36.88 kB / 430.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.1696, allocations: 24.5 kB / 430.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1696, allocations: 0 / 430.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.01314/0.1828, allocations: 5.344 MB / 436.1 MB, free: 15.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.o ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.o ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c:192:9: warning: implicit declaration of function 'ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState1_Medium_FluidConstants_array_get' is invalid in C99 [-Wimplicit-function-declaration] _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState1_Medium_FluidConstants_array_get(_completeState1._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c:192:179: error: member reference base type 'int' is not a structure or union _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState1_Medium_FluidConstants_array_get(_completeState1._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c:192:112: error: use of undeclared identifier '_completeState1' _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState1_Medium_FluidConstants_array_get(_completeState1._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c:313:9: warning: implicit declaration of function 'ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState2_Medium_FluidConstants_array_get' is invalid in C99 [-Wimplicit-function-declaration] _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState2_Medium_FluidConstants_array_get(_completeState2._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c:313:179: error: member reference base type 'int' is not a structure or union _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState2_Medium_FluidConstants_array_get(_completeState2._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.c:313:112: error: use of undeclared identifier '_completeState2' _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_completeState2_Medium_FluidConstants_array_get(_completeState2._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ 2 warnings and 4 errors generated. make: *** [: ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0504386499524117] Failed to read output from testmodel.py, exit status != 0: 0.1935374028980732 0.21321155800000002 0.054351704 Calling exit ...