Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.001468/0.001468, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.001692/0.001692, allocations: 167.2 kB / 22.46 MB, free: 5.371 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.567/1.567, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.01368/0.01368, allocations: 1.992 MB / 261.2 MB, free: 14.7 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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 385.2 MB, free: 1.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.377e-05, allocations: 3.688 kB / 385.2 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02393/0.02397, allocations: 17.28 MB / 402.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.03033, allocations: 5.278 MB / 407.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.03061, allocations: 0 / 407.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.03142, allocations: 210.6 kB / 407.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.03559, allocations: 1.221 MB / 409.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.03596, allocations: 87.36 kB / 409.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.03648, allocations: 325.4 kB / 409.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.284e-05/0.03655, allocations: 16.94 kB / 409.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.03674, allocations: 143.5 kB / 409.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.0369, allocations: 83.77 kB / 409.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.03693, allocations: 8 kB / 409.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1252/0.1621, allocations: 13.33 MB / 423.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1622, allocations: 27.8 kB / 423.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.1626, allocations: 83.8 kB / 423.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.1669, allocations: 0.5141 MB / 423.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1669, allocations: 0 / 423.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1669, allocations: 0 / 423.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1669, allocations: 0 / 423.7 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.001211/0.1681, allocations: 0.4933 MB / 424.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/0.1682, allocations: 12.03 kB / 424.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.1698, allocations: 204.5 kB / 424.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1701, allocations: 129.5 kB / 424.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.1701, allocations: 16.88 kB / 424.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.1702, allocations: 24.38 kB / 424.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009972/0.1712, allocations: 349.5 kB / 425 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1712, allocations: 0 / 425 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.1712, allocations: 8 kB / 425 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.1713, allocations: 15.94 kB / 425 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.172, allocations: 275.8 kB / 425.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.1743, allocations: 0.8018 MB / 426.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1746, allocations: 101.1 kB / 426.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1748, allocations: 69.75 kB / 426.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.1761, allocations: 39.97 kB / 426.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.1762, allocations: 38.56 kB / 426.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.1762, allocations: 0 / 426.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001051/0.1773, allocations: 322.5 kB / 426.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.1773, allocations: 77.11 kB / 426.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1775, allocations: 97.8 kB / 426.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.1775, allocations: 29.7 kB / 426.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1777, allocations: 160.5 kB / 427 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1779, allocations: 111 kB / 427.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.178, allocations: 41.83 kB / 427.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.1783, allocations: 326.8 kB / 427.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1784, allocations: 59.98 kB / 427.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.1787, allocations: 99.34 kB / 427.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1792, allocations: 187.2 kB / 427.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1792, allocations: 0 / 427.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006238/0.1799, allocations: 213.3 kB / 428 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1799, allocations: 7.984 kB / 428 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1799, allocations: 0 / 428 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1799, allocations: 12 kB / 428 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1801, allocations: 12 kB / 428 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1801, allocations: 8.062 kB / 428 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1802, allocations: 15.84 kB / 428 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1802, allocations: 4 kB / 428 MB, free: 7.742 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.0002436/0.1805, allocations: 129.8 kB / 428.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1806, allocations: 11.91 kB / 428.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/0.1814, allocations: 225.5 kB / 428.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.1814, allocations: 3.938 kB / 428.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1814, allocations: 4 kB / 428.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1814, allocations: 4 kB / 428.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.182, allocations: 213 kB / 428.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.182, allocations: 0 / 428.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.1821, allocations: 8 kB / 428.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1821, allocations: 0 / 428.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.1821, allocations: 4 kB / 428.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.1821, allocations: 4 kB / 428.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.1821, allocations: 3.938 kB / 428.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.1829, allocations: 378.9 kB / 429 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1829, allocations: 11.89 kB / 429 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1829, allocations: 15.94 kB / 429 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1831, allocations: 7.922 kB / 429 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.1832, allocations: 7.938 kB / 429.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1832, allocations: 4 kB / 429.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.1833, allocations: 79.28 kB / 429.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1833, allocations: 0 / 429.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007997/0.1841, allocations: 99.66 kB / 429.2 MB, free: 6.492 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.0007359/0.1848, allocations: 208.7 kB / 429.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1856, allocations: 270.4 kB / 429.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1856, allocations: 0 / 429.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.186, allocations: 211.4 kB / 429.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.1873, allocations: 100.2 kB / 430 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.1894, allocations: 0.5153 MB / 430.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1897, allocations: 195.2 kB / 430.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.19, allocations: 33.14 kB / 430.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.1901, allocations: 28.5 kB / 430.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1901, allocations: 0 / 430.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of Templates: time 0.02243/0.2125, allocations: 5.346 MB / 436.1 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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_TestStatesSupercritical -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.TestStatesSupercritical.o ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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_TestStatesSupercritical -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.TestStatesSupercritical_functions.o ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c:192:9: warning: implicit declaration of function 'ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState1_Medium_FluidConstants_array_get' is invalid in C99 [-Wimplicit-function-declaration] _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState1_Medium_FluidConstants_array_get(_completeState1._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c:192:179: error: member reference base type 'int' is not a structure or union _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState1_Medium_FluidConstants_array_get(_completeState1._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c:192:112: error: use of undeclared identifier '_completeState1' _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState1_Medium_FluidConstants_array_get(_completeState1._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c:313:9: warning: implicit declaration of function 'ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState2_Medium_FluidConstants_array_get' is invalid in C99 [-Wimplicit-function-declaration] _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState2_Medium_FluidConstants_array_get(_completeState2._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c:313:179: error: member reference base type 'int' is not a structure or union _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_completeState2_Medium_FluidConstants_array_get(_completeState2._Medium._fluidConstants, 1, ((modelica_integer) 1))._molarMass; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_functions.c:313:112: error: use of undeclared identifier '_completeState2' _MM = ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_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.TestStatesSupercritical_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0463591814041138] Failed to read output from testmodel.py, exit status != 0: 0.22392240911722183 0.25110871 0.08046552500000001 Calling exit ...