Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.LatentHeat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package FCSys with version 0.2.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(FCSys.Characteristics.Examples.LatentHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.LatentHeat") translateModel(FCSys.Characteristics.Examples.LatentHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.LatentHeat") [: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 3.2.1+maint.om/package.mo): time 0.001868/0.001868, allocations: 178.4 kB / 7.451 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.07142/0.07142, allocations: 17.63 MB / 25.49 MB, free: 1.695 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.7795/0.7795, allocations: 170.6 MB / 201 MB, free: 9.867 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001442/0.001442, allocations: 115.4 kB / 244.8 MB, free: 8.949 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.869e-06, allocations: 0 / 294.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06188/0.0619, allocations: 43.33 MB / 337.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.2462, allocations: 109.3 MB / 446.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.2464, allocations: 74.52 kB / 446.8 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05298/0.2994, allocations: 20.37 MB / 467.2 MB, free: 4.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.2994, allocations: 3.938 kB / 467.2 MB, free: 4.629 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000422/0.2998, allocations: 424.7 kB / 467.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.2999, allocations: 12.03 kB / 467.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/0.3076, allocations: 1.423 MB / 469 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3078, allocations: 163 kB / 469.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3078, allocations: 4 kB / 469.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3078, allocations: 0 / 469.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002688/0.3081, allocations: 148.1 kB / 469.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3083, allocations: 176.1 kB / 469.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.3083, allocations: 0 / 469.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.3084, allocations: 0 / 469.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3084, allocations: 0 / 469.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.3091, allocations: 0.5288 MB / 470 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.3094, allocations: 220.5 kB / 470.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3096, allocations: 109.3 kB / 470.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3096, allocations: 0 / 470.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3096, allocations: 30.56 kB / 470.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.3096, allocations: 3.984 kB / 470.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.03094/0.3406, allocations: 4.824 MB / 475.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3406, allocations: 55.34 kB / 475.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.3407, allocations: 100.9 kB / 475.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3407, allocations: 25.7 kB / 475.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.3408, allocations: 84.08 kB / 475.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3408, allocations: 27.25 kB / 475.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.3408, allocations: 0 / 475.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.3409, allocations: 318.1 kB / 475.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.341, allocations: 88.75 kB / 475.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3412, allocations: 90.23 kB / 476 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03026/0.3714, allocations: 4.676 MB / 480.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3714, allocations: 0 / 480.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.03068/0.4021, allocations: 4.828 MB / 485.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4022, allocations: 4 kB / 485.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4022, allocations: 0 / 485.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.4022, allocations: 0 / 485.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04182/0.444, allocations: 5.749 MB / 491.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.4585, allocations: 2.795 MB / 494 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.4587, allocations: 43.94 kB / 494.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4588, allocations: 23.97 kB / 494.1 MB, free: 10.48 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: p_sat:VARIABLE(min = 0.0 unit = "M/(L.T2)" ) "Saturation pressure" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001194/0.4589, allocations: 101 kB / 494.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.459, allocations: 7.906 kB / 494.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03003/0.489, allocations: 4.965 MB / 499.2 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.489, allocations: 3.984 kB / 499.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.489, allocations: 0 / 499.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.489, allocations: 0 / 499.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.4893, allocations: 272.2 kB / 499.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4893, allocations: 8 kB / 499.5 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.4895, allocations: 43.95 kB / 499.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.4906, allocations: 301.2 kB / 499.8 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.4907, allocations: 16.75 kB / 499.8 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.5054, allocations: 2.99 MB / 0.491 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5055, allocations: 0 / 0.491 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1262/0.6317, allocations: 4.933 MB / 0.4958 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.6317, allocations: 90.3 kB / 0.4959 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.6318, allocations: 0 / 0.4959 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.632, allocations: 32.28 kB / 0.4959 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6321, allocations: 19.14 kB / 0.496 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.6321, allocations: 20.31 kB / 0.496 GB, free: 100.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.097e-05/0.6321, allocations: 78.59 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.6325, allocations: 71.72 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/0.6328, allocations: 182.4 kB / 0.4963 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.04178/0.6746, allocations: 6.15 MB / 0.5023 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6746, allocations: 0 / 0.5023 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.6759, allocations: 344.4 kB / 0.5026 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.676, allocations: 7.781 kB / 0.5026 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.6765, allocations: 227 kB / 0.5029 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.6766, allocations: 0.7225 MB / 0.5036 GB, free: 99.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6766, allocations: 3.938 kB / 0.5036 GB, free: 99.71 MB / 378.7 MB Notification: Performance of Templates: time 0.005702/0.6823, allocations: 4.039 MB / 0.5075 GB, free: 99.61 MB / 378.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Characteristics_Examples_LatentHeat -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 FCSys_FCSys.Characteristics.Examples.LatentHeat.o FCSys_FCSys.Characteristics.Examples.LatentHeat.c FCSys_FCSys.Characteristics.Examples.LatentHeat.c:182:65: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp7 = Less(data->localData[0]->realVars[11] /* T variable */,$PT_lim_c$lB2$rB); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:197:78: error: use of undeclared identifier '$Pb_v$lB2$c3$rB' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:197:111: error: use of undeclared identifier '$Pb_v$lB2$c2$rB' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:197:153: error: use of undeclared identifier '$Pb_v$lB2$c1$rB' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:211:79: error: use of undeclared identifier '$Pb_v$lB1$c2$rB' array_alloc_scalar_real_array(&tmp10, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:211:112: error: use of undeclared identifier '$Pb_v$lB1$c1$rB' array_alloc_scalar_real_array(&tmp10, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:272:65: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,$PT_lim_c$lB2$rB); ^ 7 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.LatentHeat.o] Error 1