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: 111.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 83.86 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3779, 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.0359/0.4138, allocations: 27.13 MB / 0.5582 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.4291, allocations: 11.04 MB / 0.569 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.4294, allocations: 0 / 0.569 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.43, allocations: 83.48 kB / 0.5691 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02691/0.4569, allocations: 9.287 MB / 0.5781 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.458, allocations: 425.1 kB / 0.5785 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.4588, allocations: 490.4 kB / 0.579 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.4588, allocations: 28.27 kB / 0.579 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.4592, allocations: 191.4 kB / 0.5792 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.471, allocations: 6.012 MB / 0.5851 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.504e-05/0.4711, allocations: 16 kB / 0.5851 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02804/0.4991, allocations: 13.42 MB / 0.5982 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.4994, allocations: 91.69 kB / 0.5983 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.4997, allocations: 147.3 kB / 0.5984 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02255/0.5223, allocations: 6.792 MB / 0.6051 GB, free: 6.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5223, allocations: 0 / 0.6051 GB, free: 6.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5223, allocations: 0 / 0.6051 GB, free: 6.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.5223, allocations: 0 / 0.6051 GB, free: 6.41 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.005244/0.5276, allocations: 1.552 MB / 0.6066 GB, free: 4.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5276, allocations: 8.031 kB / 0.6066 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.5279, allocations: 39.84 kB / 0.6066 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.5283, allocations: 242.6 kB / 0.6068 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.5283, allocations: 20.56 kB / 0.6069 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.5283, allocations: 27.98 kB / 0.6069 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009355/0.5293, allocations: 0.5091 MB / 0.6074 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5293, allocations: 0 / 0.6074 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.5294, allocations: 19.98 kB / 0.6074 GB, free: 3.879 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.5294, allocations: 32.42 kB / 0.6074 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.5306, allocations: 0.9155 MB / 0.6083 GB, free: 2.93 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.002174/0.5327, allocations: 1.894 MB / 0.6102 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.5335, allocations: 279.7 kB / 0.6105 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.5337, allocations: 101.5 kB / 0.6105 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01922/0.5529, allocations: 15.68 MB / 0.6259 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006283/0.5536, allocations: 257.5 kB / 0.6261 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 3.417e-06/0.5536, allocations: 0 / 0.6261 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002372/0.556, allocations: 0.7833 MB / 0.6269 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5561, allocations: 265.9 kB / 0.6271 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.5563, allocations: 218.7 kB / 0.6273 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.5563, allocations: 33.7 kB / 0.6274 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.5565, allocations: 191.5 kB / 0.6275 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/0.5566, allocations: 126.1 kB / 0.6277 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.5567, allocations: 126.1 kB / 0.6278 GB, free: 11.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5569, allocations: 342.7 kB / 0.6281 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.5571, allocations: 89.06 kB / 0.6282 GB, free: 11.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.5575, allocations: 369.5 kB / 0.6286 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.5583, allocations: 0.5108 MB / 0.6291 GB, free: 10.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5583, allocations: 4 kB / 0.6291 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001289/0.5596, allocations: 0.4936 MB / 0.6295 GB, free: 9.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5597, allocations: 8.188 kB / 0.6295 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.5597, allocations: 23.98 kB / 0.6296 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.5597, allocations: 12 kB / 0.6296 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.5604, allocations: 179.6 kB / 0.6297 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007179/0.5611, allocations: 1.184 MB / 0.6309 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.5615, allocations: 31.91 kB / 0.6309 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.5615, allocations: 51.92 kB / 0.631 GB, free: 8.098 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.0002146/0.5618, allocations: 173.5 kB / 0.6312 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.562, allocations: 27.72 kB / 0.6312 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.563, allocations: 0.4901 MB / 0.6317 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.563, allocations: 3.984 kB / 0.6317 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.563, allocations: 4 kB / 0.6317 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.5631, allocations: 88.92 kB / 0.6317 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.5632, allocations: 11.91 kB / 0.6318 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.5634, allocations: 15.92 kB / 0.6318 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.5634, allocations: 27.94 kB / 0.6318 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006512/0.5641, allocations: 353.8 kB / 0.6321 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007862/0.5649, allocations: 496.8 kB / 0.6326 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001685/0.5651, allocations: 55.95 kB / 0.6327 GB, free: 6.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.5653, allocations: 164.5 kB / 0.6328 GB, free: 6.121 MB / 494.1 MB Notification: Performance of Backend: time 3.7e-07/0.5653, allocations: 0 / 0.6328 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01197/0.5773, allocations: 2.952 MB / 0.6357 GB, free: 3.172 MB / 494.1 MB Notification: Performance of SimCode: time 0.001304/0.5786, allocations: 0.9932 MB / 0.6367 GB, free: 2.129 MB / 494.1 MB Notification: Performance of Templates: time 0.07884/0.6574, allocations: 54.91 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