Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.00131, allocations: 118.8 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3206, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03224/0.3529, allocations: 27.13 MB / 0.5582 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.3667, allocations: 11.04 MB / 0.569 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3669, allocations: 0 / 0.569 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.3674, allocations: 79.5 kB / 0.5691 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02257/0.39, allocations: 9.241 MB / 0.5781 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.3909, allocations: 420.9 kB / 0.5785 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.3916, allocations: 490.4 kB / 0.5789 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.3917, allocations: 24.3 kB / 0.579 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.3919, allocations: 187.4 kB / 0.5791 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009361/0.4013, allocations: 6.015 MB / 0.585 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.4014, allocations: 16 kB / 0.585 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02298/0.4244, allocations: 13.42 MB / 0.5981 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.4246, allocations: 91.62 kB / 0.5982 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.4249, allocations: 143.3 kB / 0.5984 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.4418, allocations: 6.788 MB / 0.605 GB, free: 6.488 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4419, allocations: 0 / 0.605 GB, free: 6.488 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4419, allocations: 0 / 0.605 GB, free: 6.488 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4419, allocations: 4 kB / 0.605 GB, free: 6.484 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004483/0.4464, allocations: 1.556 MB / 0.6065 GB, free: 4.879 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4465, allocations: 8.031 kB / 0.6065 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.4467, allocations: 35.83 kB / 0.6066 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.447, allocations: 250.6 kB / 0.6068 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4471, allocations: 20.56 kB / 0.6068 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4471, allocations: 27.98 kB / 0.6068 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.4481, allocations: 0.513 MB / 0.6073 GB, free: 3.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4481, allocations: 4 kB / 0.6074 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.4482, allocations: 12 kB / 0.6074 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.4482, allocations: 28.42 kB / 0.6074 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.4494, allocations: 0.9194 MB / 0.6083 GB, free: 2.996 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.4517, allocations: 1.894 MB / 0.6101 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.4524, allocations: 271.8 kB / 0.6104 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.4526, allocations: 109.5 kB / 0.6105 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/0.4715, allocations: 15.68 MB / 0.6258 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.4721, allocations: 253.5 kB / 0.6261 GB, free: 13.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.895e-06/0.4721, allocations: 0 / 0.6261 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002251/0.4743, allocations: 0.7854 MB / 0.6268 GB, free: 12.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.4745, allocations: 261 kB / 0.6271 GB, free: 12.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4747, allocations: 214.7 kB / 0.6273 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.4747, allocations: 41.94 kB / 0.6273 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4748, allocations: 183.5 kB / 0.6275 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4749, allocations: 130.1 kB / 0.6276 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4751, allocations: 126.1 kB / 0.6277 GB, free: 11.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4752, allocations: 338.7 kB / 0.6281 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4754, allocations: 93.05 kB / 0.6282 GB, free: 11.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.4759, allocations: 365.6 kB / 0.6285 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.4766, allocations: 0.5063 MB / 0.629 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4767, allocations: 4 kB / 0.629 GB, free: 10.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001235/0.4779, allocations: 0.5006 MB / 0.6295 GB, free: 9.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4779, allocations: 8 kB / 0.6295 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4779, allocations: 8.906 kB / 0.6295 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.478, allocations: 16 kB / 0.6295 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.4786, allocations: 187.6 kB / 0.6297 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006154/0.4792, allocations: 1.184 MB / 0.6309 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.4795, allocations: 23.91 kB / 0.6309 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.4796, allocations: 56.11 kB / 0.6309 GB, free: 8.172 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.4798, allocations: 176.6 kB / 0.6311 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.48, allocations: 27.78 kB / 0.6311 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/0.481, allocations: 0.493 MB / 0.6316 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.481, allocations: 0 / 0.6316 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.481, allocations: 0 / 0.6316 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.4811, allocations: 100.9 kB / 0.6317 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.4812, allocations: 3.906 kB / 0.6317 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4814, allocations: 19.92 kB / 0.6317 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.4814, allocations: 23.91 kB / 0.6317 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006097/0.482, allocations: 361.4 kB / 0.6321 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006853/0.4827, allocations: 489.5 kB / 0.6326 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000148/0.4829, allocations: 56 kB / 0.6326 GB, free: 6.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.483, allocations: 172.5 kB / 0.6328 GB, free: 6.188 MB / 494.1 MB Notification: Performance of Backend: time 3.8e-07/0.4831, allocations: 0 / 0.6328 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01049/0.4935, allocations: 2.952 MB / 0.6357 GB, free: 3.234 MB / 494.1 MB Notification: Performance of SimCode: time 0.001276/0.4948, allocations: 0.9779 MB / 0.6366 GB, free: 2.207 MB / 494.1 MB Notification: Performance of Templates: time 0.07638/0.5712, allocations: 55 MB / 0.6903 GB, free: 11.21 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_functions.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_functions.c ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_functions.c:20:687: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) __omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PIncompleteMedia_24PReferenceMoistAir_24PMedium_24PspecificEnthalpy_24funDERh = (__omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PIncompleteMedia_24PReferenceMoistAir_24PMedium_24PspecificEnthalpy_24funDERstate._p) * (omc_Modelica_Media_Air_ReferenceMoistAir_Utilities_h__pTX__der(threadData, _state._p, _state._T, _state._X, 1.0, 0.0, _OMC_LIT2)) + (__omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PIncompleteMedia_24PReferenceMoistAir_24PMedium_24PspecificEnthalpy_24funDERstate._T) * (omc_Modelica_Media_Air_ReferenceMoistAir_Utilities_h__pTX__der(threadData, _state._p, _state._T, _state._X, 0.0, 1.0, _OMC_LIT2)) + mul_alloc_real_array_scalar(__omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PIncompleteMedia_24PReferenceMoistAir_24PMedium_24PspecificEnthalpy_24funDERstate._X, omc_Modelica_Media_Air_ReferenceMoistAir_Utilities_h__pTX__der(threadData, _state._p, _state._T, _state._X, 0.0, 0.0, _OMC_LIT3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_functions.o] Error 1