Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001088, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 206.8 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.375/1.375, 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.2151/0.2151, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 79.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3189, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1702/0.4892, allocations: 155.1 MB / 0.6832 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.5013, allocations: 10.55 MB / 0.6934 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.5016, allocations: 0 / 0.6934 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.502, allocations: 87.48 kB / 0.6935 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008171/0.5102, allocations: 3.043 MB / 0.6965 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.5107, allocations: 162.2 kB / 0.6967 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000991/0.5117, allocations: 0.5256 MB / 0.6972 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.5118, allocations: 20.41 kB / 0.6972 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.5122, allocations: 235.2 kB / 0.6974 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008397/0.5131, allocations: 378.9 kB / 0.6978 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.5132, allocations: 15.94 kB / 0.6978 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008716/0.5219, allocations: 4.691 MB / 0.7024 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.5221, allocations: 111.7 kB / 0.7025 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.5223, allocations: 155.3 kB / 0.7026 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005231/0.5275, allocations: 2.425 MB / 0.705 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5276, allocations: 0 / 0.705 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5276, allocations: 0 / 0.705 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.5276, allocations: 0 / 0.705 GB, free: 15.64 MB / 0.5606 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.002637/0.5302, allocations: 1.071 MB / 0.706 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5303, allocations: 8.031 kB / 0.7061 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.5305, allocations: 43.92 kB / 0.7061 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.5308, allocations: 242.7 kB / 0.7063 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.5309, allocations: 127.5 kB / 0.7064 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.531, allocations: 28 kB / 0.7065 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.5318, allocations: 0.5643 MB / 0.707 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5318, allocations: 0 / 0.707 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.5318, allocations: 12 kB / 0.707 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.5319, allocations: 40.42 kB / 0.7071 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.5333, allocations: 1.255 MB / 0.7083 GB, free: 12.11 MB / 0.5606 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.002334/0.5356, allocations: 1.972 MB / 0.7102 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.5363, allocations: 264 kB / 0.7105 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.5365, allocations: 118 kB / 0.7106 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.5395, allocations: 3.106 MB / 0.7136 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5395, allocations: 38.56 kB / 0.7137 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.5395, allocations: 0 / 0.7137 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001765/0.5413, allocations: 0.7144 MB / 0.7144 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5413, allocations: 59.41 kB / 0.7144 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.5415, allocations: 206.9 kB / 0.7146 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.5416, allocations: 33.7 kB / 0.7146 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5417, allocations: 191.7 kB / 0.7148 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5418, allocations: 161.7 kB / 0.715 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.542, allocations: 134.2 kB / 0.7151 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5421, allocations: 342.8 kB / 0.7154 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.5423, allocations: 109.2 kB / 0.7155 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.5426, allocations: 417.4 kB / 0.7159 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.5433, allocations: 0.57 MB / 0.7165 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.5434, allocations: 4 kB / 0.7165 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009268/0.5443, allocations: 0.5559 MB / 0.717 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5443, allocations: 8 kB / 0.717 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.5443, allocations: 12 kB / 0.7171 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5444, allocations: 12 kB / 0.7171 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.545, allocations: 191.7 kB / 0.7173 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006418/0.5457, allocations: 1.196 MB / 0.7184 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.546, allocations: 20 kB / 0.7184 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.5461, allocations: 55.98 kB / 0.7185 GB, free: 0.5469 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.0001778/0.5463, allocations: 177.5 kB / 0.7187 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.5464, allocations: 31.62 kB / 0.7187 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2267/0.7731, allocations: 0.6444 MB / 0.7193 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.7731, allocations: 5.547 kB / 0.7193 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7731, allocations: 0.5 kB / 0.7193 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.7733, allocations: 116.9 kB / 0.7194 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.7733, allocations: 9.781 kB / 0.7194 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.7736, allocations: 17.09 kB / 0.7195 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.7737, allocations: 23.08 kB / 0.7195 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006181/0.7743, allocations: 333.6 kB / 0.7198 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005949/0.7749, allocations: 491.4 kB / 0.7203 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001476/0.7751, allocations: 86.3 kB / 0.7204 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001706/0.7753, allocations: 176.5 kB / 0.7205 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of Backend: time 6.51e-07/0.7753, allocations: 0 / 0.7205 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004063/0.7793, allocations: 1.391 MB / 0.7219 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001014/0.7804, allocations: 1.047 MB / 0.7229 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02464/0.805, allocations: 20.38 MB / 0.7428 GB, free: 167.1 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile make -j1 -f ModelicaTest_trunk_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"/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_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.o ModelicaTest_trunk_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"/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_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_functions.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_functions.c ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_functions.o] Error 1