Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001451/0.001452, allocations: 111.9 kB / 17.09 MB, free: 5.988 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.001313/0.001314, allocations: 200.2 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2289/0.2289, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 66.03 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1364, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5222/0.6586, allocations: 153.5 MB / 0.6384 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.6756, allocations: 13.26 MB / 0.6514 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.6759, allocations: 4 kB / 0.6514 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.6764, allocations: 83.42 kB / 0.6515 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009822/0.6863, allocations: 3.443 MB / 0.6548 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.6867, allocations: 167.7 kB / 0.655 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008861/0.6876, allocations: 0.5217 MB / 0.6555 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.6877, allocations: 16.41 kB / 0.6555 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.6882, allocations: 235.1 kB / 0.6558 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.6891, allocations: 375 kB / 0.6561 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.6892, allocations: 12 kB / 0.6561 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008821/0.698, allocations: 5.022 MB / 0.661 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.6982, allocations: 99.66 kB / 0.6611 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.6985, allocations: 159.2 kB / 0.6613 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.7039, allocations: 2.592 MB / 0.6638 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.704, allocations: 4 kB / 0.6638 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.704, allocations: 0 / 0.6638 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.704, allocations: 0 / 0.6638 GB, free: 7.02 MB / 0.4981 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.002947/0.7069, allocations: 1.116 MB / 0.6649 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.707, allocations: 11.89 kB / 0.6649 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.7072, allocations: 32.84 kB / 0.6649 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.7076, allocations: 262.5 kB / 0.6652 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.7077, allocations: 127.5 kB / 0.6653 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.7078, allocations: 28 kB / 0.6653 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.7086, allocations: 0.572 MB / 0.6659 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.7086, allocations: 0 / 0.6659 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.7086, allocations: 15.94 kB / 0.6659 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.7087, allocations: 36.48 kB / 0.6659 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.71, allocations: 1.259 MB / 0.6672 GB, free: 3.426 MB / 0.4981 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.002397/0.7124, allocations: 2.003 MB / 0.6691 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.7131, allocations: 268 kB / 0.6694 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.7133, allocations: 122.1 kB / 0.6695 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/0.717, allocations: 3.359 MB / 0.6728 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.717, allocations: 38.56 kB / 0.6728 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.375e-06/0.7171, allocations: 0 / 0.6728 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.002054/0.7191, allocations: 0.7254 MB / 0.6735 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.7192, allocations: 63.36 kB / 0.6736 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.7194, allocations: 198.3 kB / 0.6738 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.7194, allocations: 37.7 kB / 0.6738 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.7196, allocations: 195.7 kB / 0.674 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.7197, allocations: 157.8 kB / 0.6742 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.7199, allocations: 146.1 kB / 0.6743 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.72, allocations: 334.8 kB / 0.6746 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.7202, allocations: 109.2 kB / 0.6747 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.7207, allocations: 409.4 kB / 0.6751 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.7216, allocations: 0.5786 MB / 0.6757 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.7216, allocations: 4 kB / 0.6757 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001149/0.7227, allocations: 0.5677 MB / 0.6762 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.7228, allocations: 8.188 kB / 0.6762 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.7228, allocations: 16 kB / 0.6763 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.7229, allocations: 12 kB / 0.6763 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.7236, allocations: 203.7 kB / 0.6765 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007492/0.7243, allocations: 1.195 MB / 0.6776 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.7247, allocations: 28.05 kB / 0.6777 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.7248, allocations: 63.98 kB / 0.6777 GB, free: 7.496 MB / 0.5137 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.0002457/0.7251, allocations: 185.2 kB / 0.6779 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.7252, allocations: 27.72 kB / 0.6779 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.7264, allocations: 0.6687 MB / 0.6786 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.7265, allocations: 7.984 kB / 0.6786 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7265, allocations: 0 / 0.6786 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.7266, allocations: 112.9 kB / 0.6787 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.7267, allocations: 11.91 kB / 0.6787 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.7269, allocations: 11.98 kB / 0.6787 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.727, allocations: 28.19 kB / 0.6787 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000623/0.7276, allocations: 347.7 kB / 0.6791 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006324/0.7283, allocations: 498.4 kB / 0.6795 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001658/0.7284, allocations: 84.73 kB / 0.6796 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000175/0.7286, allocations: 168.5 kB / 0.6798 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of Backend: time 7.71e-07/0.7286, allocations: 0 / 0.6798 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005446/0.7341, allocations: 1.533 MB / 0.6813 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001509/0.7356, allocations: 1.053 MB / 0.6823 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of Templates: time 0.03491/0.7705, allocations: 22.31 MB / 0.7041 GB, free: 12.34 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_functions.o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_functions.c ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_functions.o] Error 1