Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 192.1 kB / 8.533 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 97.89 kB / 286.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 45.14 MB / 383.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.416e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4763/0.5976, allocations: 191.4 MB / 0.6907 GB, free: 12.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5979, allocations: 74.77 kB / 0.6907 GB, free: 12.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.1061/0.704, allocations: 47.39 MB / 0.737 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.7041, allocations: 4 kB / 0.737 GB, free: 0.9453 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001571/0.7057, allocations: 0.5913 MB / 0.7376 GB, free: 316 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.7057, allocations: 8.031 kB / 0.7376 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000616/0.7063, allocations: 51.77 kB / 0.7377 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.7067, allocations: 214.8 kB / 0.7379 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.7068, allocations: 7.984 kB / 0.7379 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.7068, allocations: 12 kB / 0.7379 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003775/0.7072, allocations: 215.8 kB / 0.7381 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.7076, allocations: 220.7 kB / 0.7383 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.7076, allocations: 0 / 0.7383 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.7076, allocations: 3.938 kB / 0.7383 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.7077, allocations: 8 kB / 0.7383 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.7113, allocations: 3.523 MB / 0.7417 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.7115, allocations: 49.72 kB / 0.7418 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.7115, allocations: 32.84 kB / 0.7418 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/0.7119, allocations: 0.4954 MB / 0.7423 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.7122, allocations: 113.9 kB / 0.7424 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 4.879e-06/0.7122, allocations: 3.984 kB / 0.7424 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001444/0.7137, allocations: 244.6 kB / 0.7427 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.7137, allocations: 107.1 kB / 0.7428 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.7139, allocations: 155.2 kB / 0.7429 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.7139, allocations: 33.62 kB / 0.7429 GB, free: 10 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7141, allocations: 159.4 kB / 0.7431 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.7141, allocations: 47.36 kB / 0.7431 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.7141, allocations: 0 / 0.7431 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7143, allocations: 322.8 kB / 0.7434 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.7144, allocations: 40.03 kB / 0.7435 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.7146, allocations: 175.3 kB / 0.7436 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.7164, allocations: 234.8 kB / 0.7439 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.7164, allocations: 7.938 kB / 0.7439 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002155/0.7185, allocations: 384.9 kB / 0.7442 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.7186, allocations: 8.656 kB / 0.7443 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7186, allocations: 8 kB / 0.7443 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.7186, allocations: 8 kB / 0.7443 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.7194, allocations: 119.8 kB / 0.7444 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004973/0.7199, allocations: 0.6093 MB / 0.745 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.7202, allocations: 8 kB / 0.745 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.7202, allocations: 28 kB / 0.745 GB, free: 7.762 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.7204, allocations: 116.9 kB / 0.7451 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.7204, allocations: 19.8 kB / 0.7451 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.7214, allocations: 300.7 kB / 0.7454 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.7215, allocations: 7.906 kB / 0.7454 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7215, allocations: 4 kB / 0.7454 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7215, allocations: 0 / 0.7454 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.7223, allocations: 467.7 kB / 0.7459 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.7224, allocations: 0 / 0.7459 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.7229, allocations: 63.97 kB / 0.7459 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.7229, allocations: 0 / 0.7459 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.7229, allocations: 8 kB / 0.746 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.7233, allocations: 0.5976 MB / 0.7465 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.7233, allocations: 0 / 0.7465 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005628/0.7239, allocations: 300.9 kB / 0.7468 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.7241, allocations: 128.8 kB / 0.7469 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.7241, allocations: 0 / 0.7469 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.7243, allocations: 4 kB / 0.7469 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.7243, allocations: 15.98 kB / 0.747 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.7244, allocations: 16 kB / 0.747 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001037/0.7245, allocations: 124.5 kB / 0.7471 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009974/0.7255, allocations: 207.8 kB / 0.7473 GB, free: 5.289 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.7267, allocations: 380.6 kB / 0.7477 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.7274, allocations: 183.7 kB / 0.7478 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7274, allocations: 0 / 0.7478 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.7278, allocations: 87.3 kB / 0.7479 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.7281, allocations: 29.2 kB / 0.7479 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3295/1.058, allocations: 21.08 MB / 0.7685 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/1.058, allocations: 0.7911 MB / 0.7693 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.894e-06/1.058, allocations: 5.688 kB / 0.7693 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01205/1.07, allocations: 5.742 MB / 0.7749 GB, free: 144.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650 -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.Essotherm650.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650 -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.Essotherm650_functions.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:354:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:354:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:354:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:858:86: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:858:191: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ 1 warning and 2 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.o] Error 1