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.001313/0.001313, allocations: 110.7 kB / 18.46 MB, free: 4.617 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.001422/0.001422, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.369/1.369, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2092/0.2092, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3165, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1747/0.4912, allocations: 152.2 MB / 0.6682 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.5036, allocations: 10.45 MB / 0.6784 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.5039, allocations: 0 / 0.6784 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.5044, allocations: 91.47 kB / 0.6785 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009867/0.5143, allocations: 3.05 MB / 0.6815 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.5149, allocations: 159.5 kB / 0.6816 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.516, allocations: 0.5256 MB / 0.6822 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.5162, allocations: 22.23 kB / 0.6822 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000585/0.5167, allocations: 231.1 kB / 0.6824 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5178, allocations: 370.9 kB / 0.6828 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.5179, allocations: 12 kB / 0.6828 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.5291, allocations: 4.652 MB / 0.6873 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.5294, allocations: 99.69 kB / 0.6874 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.5297, allocations: 155.3 kB / 0.6876 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007401/0.5371, allocations: 2.393 MB / 0.6899 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5371, allocations: 3.984 kB / 0.6899 GB, free: 13.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5372, allocations: 0 / 0.6899 GB, free: 13.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.5372, allocations: 0 / 0.6899 GB, free: 13.05 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.002943/0.5401, allocations: 1.045 MB / 0.6909 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5402, allocations: 8.031 kB / 0.6909 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.5404, allocations: 36.03 kB / 0.691 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.5408, allocations: 246.6 kB / 0.6912 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.5409, allocations: 131.5 kB / 0.6913 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.541, allocations: 31.98 kB / 0.6913 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.5419, allocations: 0.5643 MB / 0.6919 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5419, allocations: 0 / 0.6919 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.542, allocations: 12 kB / 0.6919 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.5421, allocations: 36.42 kB / 0.6919 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.5435, allocations: 1.247 MB / 0.6932 GB, free: 9.562 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.00261/0.5461, allocations: 1.984 MB / 0.6951 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.5469, allocations: 264 kB / 0.6954 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.5471, allocations: 118.1 kB / 0.6955 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003323/0.5504, allocations: 3.095 MB / 0.6985 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.5505, allocations: 46.55 kB / 0.6985 GB, free: 3.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 3.176e-06/0.5505, allocations: 3.984 kB / 0.6985 GB, free: 3.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.001938/0.5524, allocations: 0.7056 MB / 0.6992 GB, free: 2.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.5525, allocations: 55.41 kB / 0.6993 GB, free: 2.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.5527, allocations: 202.3 kB / 0.6995 GB, free: 2.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.5527, allocations: 33.64 kB / 0.6995 GB, free: 2.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5528, allocations: 195.8 kB / 0.6997 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.553, allocations: 157.7 kB / 0.6998 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.5531, allocations: 134.1 kB / 0.7 GB, free: 1.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5533, allocations: 342.8 kB / 0.7003 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5535, allocations: 109.2 kB / 0.7004 GB, free: 1.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.5539, allocations: 413.4 kB / 0.7008 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.5546, allocations: 0.573 MB / 0.7014 GB, free: 108 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.5546, allocations: 7.984 kB / 0.7014 GB, free: 100 kB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001026/0.5557, allocations: 0.5513 MB / 0.7019 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5557, allocations: 12 kB / 0.7019 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.5557, allocations: 11.98 kB / 0.7019 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.5558, allocations: 16 kB / 0.7019 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.5565, allocations: 195.7 kB / 0.7021 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.5572, allocations: 1.196 MB / 0.7033 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.5576, allocations: 20 kB / 0.7033 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5577, allocations: 55.98 kB / 0.7034 GB, free: 14 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.0002244/0.5579, allocations: 169.5 kB / 0.7035 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.558, allocations: 27.72 kB / 0.7036 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5594, allocations: 0.6601 MB / 0.7042 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5594, allocations: 3.984 kB / 0.7042 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5594, allocations: 4.062 kB / 0.7042 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.5596, allocations: 116.8 kB / 0.7043 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.5596, allocations: 19.88 kB / 0.7043 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.5599, allocations: 11.98 kB / 0.7043 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.5599, allocations: 20.25 kB / 0.7044 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006268/0.5606, allocations: 335.7 kB / 0.7047 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006225/0.5612, allocations: 483.6 kB / 0.7051 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001531/0.5614, allocations: 84.2 kB / 0.7052 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001889/0.5616, allocations: 172.4 kB / 0.7054 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Backend: time 6.71e-07/0.5616, allocations: 0 / 0.7054 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004746/0.5663, allocations: 1.373 MB / 0.7067 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001373/0.5677, allocations: 1.052 MB / 0.7078 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of Templates: time 0.2835/0.8513, allocations: 20.29 MB / 0.7276 GB, free: 184.2 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