Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.SaturationPressure") translateModel(FCSys.Characteristics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.SaturationPressure") [: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.001632/0.001632, allocations: 178 kB / 7.452 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.07119/0.07119, allocations: 17.63 MB / 25.49 MB, free: 1.77 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.7663/0.7663, allocations: 170.6 MB / 201 MB, free: 9.848 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.001416/0.001416, allocations: 111.3 kB / 244.8 MB, free: 8.953 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.231e-06, allocations: 4 kB / 294.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0596/0.05962, allocations: 43.32 MB / 337.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.146/4.205, allocations: 3.625 GB / 3.955 GB, free: 45.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/4.206, allocations: 79.58 kB / 3.955 GB, free: 45.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1944/4.4, allocations: 47.9 MB / 4.002 GB, free: 102.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/4.4, allocations: 0 / 4.002 GB, free: 102.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005814/4.401, allocations: 479.5 kB / 4.002 GB, free: 101.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/4.401, allocations: 7.875 kB / 4.002 GB, free: 101.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/4.414, allocations: 2.643 MB / 4.005 GB, free: 101.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.308e-05/4.414, allocations: 168.8 kB / 4.005 GB, free: 101.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/4.414, allocations: 3.719 kB / 4.005 GB, free: 101.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/4.414, allocations: 1.031 kB / 4.005 GB, free: 101.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002796/4.414, allocations: 186.9 kB / 4.005 GB, free: 101.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/4.415, allocations: 248 kB / 4.005 GB, free: 101.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/4.415, allocations: 3.234 kB / 4.005 GB, free: 101.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/4.415, allocations: 3.625 kB / 4.005 GB, free: 101.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/4.415, allocations: 0 / 4.005 GB, free: 101.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/4.416, allocations: 0.6919 MB / 4.006 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/4.416, allocations: 307.1 kB / 4.006 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/4.416, allocations: 151.4 kB / 4.006 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/4.416, allocations: 0 / 4.006 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/4.416, allocations: 39.78 kB / 4.006 GB, free: 101.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/4.416, allocations: 3.578 kB / 4.006 GB, free: 101.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.02312/4.439, allocations: 4.015 MB / 4.01 GB, free: 101.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/4.439, allocations: 54.17 kB / 4.01 GB, free: 101.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/4.439, allocations: 91.66 kB / 4.01 GB, free: 101.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/4.439, allocations: 25.7 kB / 4.01 GB, free: 101.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/4.439, allocations: 88.7 kB / 4.011 GB, free: 101 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/4.439, allocations: 13.02 kB / 4.011 GB, free: 101 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/4.439, allocations: 0 / 4.011 GB, free: 101 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/4.44, allocations: 321.4 kB / 4.011 GB, free: 100.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/4.44, allocations: 138.9 kB / 4.011 GB, free: 100.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/4.44, allocations: 145.4 kB / 4.011 GB, free: 100.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02273/4.463, allocations: 3.816 MB / 4.015 GB, free: 100.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/4.463, allocations: 0 / 4.015 GB, free: 100.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.02307/4.486, allocations: 4.009 MB / 4.019 GB, free: 100.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/4.486, allocations: 8.875 kB / 4.019 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/4.486, allocations: 0 / 4.019 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/4.486, allocations: 0 / 4.019 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06283/4.549, allocations: 9.659 MB / 4.028 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/4.576, allocations: 5.798 MB / 4.034 GB, free: 99.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/4.577, allocations: 41.33 kB / 4.034 GB, free: 99.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/4.577, allocations: 34.55 kB / 4.034 GB, free: 99.39 MB / 394.7 MB 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/4.577, allocations: 103.7 kB / 4.034 GB, free: 99.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/4.577, allocations: 5.594 kB / 4.034 GB, free: 99.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03951/4.616, allocations: 6.648 MB / 4.041 GB, free: 99.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/4.617, allocations: 2.875 kB / 4.041 GB, free: 99.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/4.617, allocations: 0 / 4.041 GB, free: 99.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/4.617, allocations: 3.516 kB / 4.041 GB, free: 99.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/4.617, allocations: 348.7 kB / 4.041 GB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/4.617, allocations: 7.906 kB / 4.041 GB, free: 98.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/4.617, allocations: 31.81 kB / 4.041 GB, free: 98.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/4.62, allocations: 0.7348 MB / 4.042 GB, free: 98.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/4.62, allocations: 17.33 kB / 4.042 GB, free: 98.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02761/4.647, allocations: 5.889 MB / 4.047 GB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/4.647, allocations: 0.875 kB / 4.047 GB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03833/4.686, allocations: 6.569 MB / 4.054 GB, free: 94.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/4.686, allocations: 84.11 kB / 4.054 GB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/4.686, allocations: 1.406 kB / 4.054 GB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/4.686, allocations: 40.25 kB / 4.054 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/4.686, allocations: 21.12 kB / 4.054 GB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/4.686, allocations: 27.59 kB / 4.054 GB, free: 94.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.113e-05/4.686, allocations: 84.86 kB / 4.054 GB, free: 94.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004478/4.687, allocations: 129.4 kB / 4.054 GB, free: 94.34 MB / 394.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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007095/4.687, allocations: 0.6992 MB / 4.055 GB, free: 94.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.06855/4.756, allocations: 10.71 MB / 4.065 GB, free: 88.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/4.756, allocations: 4 kB / 4.065 GB, free: 88.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/4.758, allocations: 0.5949 MB / 4.066 GB, free: 87.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/4.759, allocations: 11.89 kB / 4.066 GB, free: 87.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/4.759, allocations: 319.8 kB / 4.066 GB, free: 87.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/4.759, allocations: 0.7227 MB / 4.067 GB, free: 86.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/4.759, allocations: 0 / 4.067 GB, free: 86.93 MB / 394.7 MB Notification: Performance of Templates: time 0.009847/4.769, allocations: 8.706 MB / 4.075 GB, free: 78.4 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.SaturationPressure.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.SaturationPressure.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_SaturationPressure -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Characteristics.Examples.SaturationPressure.o FCSys_FCSys.Characteristics.Examples.SaturationPressure.c FCSys_FCSys.Characteristics.Examples.SaturationPressure.c:138:78: error: use of undeclared identifier '$Pb_v$lB2$c3$rB' array_alloc_scalar_real_array(&tmp5, 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.SaturationPressure.c:138:111: error: use of undeclared identifier '$Pb_v$lB2$c2$rB' array_alloc_scalar_real_array(&tmp5, 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.SaturationPressure.c:138:153: error: use of undeclared identifier '$Pb_v$lB2$c1$rB' array_alloc_scalar_real_array(&tmp5, 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.SaturationPressure.c:152:78: error: use of undeclared identifier '$Pb_v$lB1$c2$rB' array_alloc_scalar_real_array(&tmp6, 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.SaturationPressure.c:152:111: error: use of undeclared identifier '$Pb_v$lB1$c1$rB' array_alloc_scalar_real_array(&tmp6, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ 5 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.SaturationPressure.o] Error 1