Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 111.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 190 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.2 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.89 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4103, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1812/0.5916, allocations: 152.2 MB / 0.6682 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.6035, allocations: 10.46 MB / 0.6784 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.6037, allocations: 0 / 0.6784 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.6042, allocations: 87.48 kB / 0.6785 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008014/0.6122, allocations: 3.053 MB / 0.6815 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.6126, allocations: 159.5 kB / 0.6816 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.6134, allocations: 0.5217 MB / 0.6822 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.6135, allocations: 12.41 kB / 0.6822 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.6139, allocations: 236.1 kB / 0.6824 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008141/0.6147, allocations: 386.8 kB / 0.6828 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.6148, allocations: 12 kB / 0.6828 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008347/0.6231, allocations: 4.652 MB / 0.6873 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.6233, allocations: 91.69 kB / 0.6874 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.6235, allocations: 159.3 kB / 0.6876 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006299/0.6298, allocations: 2.4 MB / 0.6899 GB, free: 13.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.6299, allocations: 8 kB / 0.6899 GB, free: 13.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.617e-06/0.6299, allocations: 0 / 0.6899 GB, free: 13.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.6299, allocations: 3.938 kB / 0.6899 GB, free: 13.03 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003052/0.6329, allocations: 1.077 MB / 0.691 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.633, allocations: 8.031 kB / 0.691 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.6332, allocations: 40.16 kB / 0.691 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.6336, allocations: 246.6 kB / 0.6912 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.6337, allocations: 127.5 kB / 0.6914 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.6337, allocations: 31.98 kB / 0.6914 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.6346, allocations: 0.5603 MB / 0.6919 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6346, allocations: 0 / 0.6919 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.6346, allocations: 16 kB / 0.692 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/0.6347, allocations: 32.42 kB / 0.692 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.6361, allocations: 1.251 MB / 0.6932 GB, free: 9.504 MB / 0.545 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.00257/0.6386, allocations: 1.988 MB / 0.6952 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.6394, allocations: 260 kB / 0.6954 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.6396, allocations: 118 kB / 0.6955 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/0.6426, allocations: 3.095 MB / 0.6985 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.6426, allocations: 38.56 kB / 0.6986 GB, free: 3.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.6427, allocations: 0 / 0.6986 GB, free: 3.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.00185/0.6445, allocations: 0.7215 MB / 0.6993 GB, free: 2.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.6446, allocations: 55.41 kB / 0.6993 GB, free: 2.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.6447, allocations: 202.3 kB / 0.6995 GB, free: 2.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.6448, allocations: 41.64 kB / 0.6996 GB, free: 2.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6449, allocations: 196.4 kB / 0.6998 GB, free: 2.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.645, allocations: 166.6 kB / 0.6999 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.6452, allocations: 134.2 kB / 0.7 GB, free: 1.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6453, allocations: 338.8 kB / 0.7004 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.6455, allocations: 101.2 kB / 0.7005 GB, free: 1.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.6459, allocations: 417.4 kB / 0.7009 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.6466, allocations: 0.573 MB / 0.7014 GB, free: 36 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6466, allocations: 7.938 kB / 0.7014 GB, free: 28 kB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000943/0.6475, allocations: 0.5509 MB / 0.702 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6476, allocations: 12 kB / 0.702 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6476, allocations: 16.16 kB / 0.702 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.6476, allocations: 12 kB / 0.702 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.6483, allocations: 195.7 kB / 0.7022 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005979/0.6489, allocations: 1.188 MB / 0.7033 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.6492, allocations: 32.19 kB / 0.7034 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.6493, allocations: 51.98 kB / 0.7034 GB, free: 13.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001956/0.6495, allocations: 181.5 kB / 0.7036 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.6496, allocations: 27.81 kB / 0.7036 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.6508, allocations: 0.6601 MB / 0.7043 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6508, allocations: 0 / 0.7043 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6508, allocations: 0 / 0.7043 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6509, allocations: 116.9 kB / 0.7044 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.651, allocations: 11.94 kB / 0.7044 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.6512, allocations: 8 kB / 0.7044 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.6513, allocations: 28.25 kB / 0.7044 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005919/0.6519, allocations: 339.7 kB / 0.7048 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005723/0.6525, allocations: 483.7 kB / 0.7052 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001314/0.6526, allocations: 80.2 kB / 0.7053 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001577/0.6528, allocations: 180.5 kB / 0.7055 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of Backend: time 7.12e-07/0.6528, allocations: 0 / 0.7055 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004121/0.6569, allocations: 1.399 MB / 0.7068 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001324/0.6583, allocations: 1.05 MB / 0.7079 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of Templates: time 0.2689/0.9271, allocations: 20.28 MB / 0.7277 GB, free: 184 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir -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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.o ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir -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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_functions.o ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_functions.c ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_functions.c:20:615: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) __omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PMoistAir_24PMedium_24PspecificEnthalpy_24funDERh = (__omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PMoistAir_24PMedium_24PspecificEnthalpy_24funDERstate._p) * (omc_ModelicaTest_Media_TestAllProperties_MoistAir_Medium_h__pTX__der(threadData, _state._p, _state._T, _state._X, 1.0, 0.0, _OMC_LIT2)) + (__omcQ_24ModelicaTest_24PMedia_24PTestAllProperties_24PMoistAir_24PMedium_24PspecificEnthalpy_24funDERstate._T) * (omc_ModelicaTest_Media_TestAllProperties_MoistAir_Medium_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_24PMoistAir_24PMedium_24PspecificEnthalpy_24funDERstate._X, omc_ModelicaTest_Media_TestAllProperties_MoistAir_Medium_h__pTX__der(threadData, _state._p, _state._T, _state._X, 0.0, 0.0, _OMC_LIT3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_functions.o] Error 1