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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001775/0.001775, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.195/0.195, allocations: 17.63 MB / 25.7 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.55/1.55, allocations: 170.6 MB / 201.3 MB, free: 4.586 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.001652/0.001652, allocations: 121 kB / 245.1 MB, free: 13.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.066e-05, allocations: 4 kB / 294.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 43.29 MB / 337.9 MB, free: 37.7 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.4293, allocations: 109.4 MB / 447.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.4297, allocations: 79.95 kB / 447.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3243/0.754, allocations: 20.58 MB / 468 MB, free: 106.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.7541, allocations: 4 kB / 468 MB, free: 106.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.7542, allocations: 1.5 kB / 468 MB, free: 106.5 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.0008385/0.755, allocations: 422.5 kB / 468.4 MB, free: 106.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.7551, allocations: 9.188 kB / 468.4 MB, free: 106.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008058/0.7631, allocations: 1.325 MB / 469.7 MB, free: 105.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.7634, allocations: 166.8 kB / 469.9 MB, free: 105.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.7634, allocations: 0.6875 kB / 469.9 MB, free: 105.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.7635, allocations: 3.719 kB / 469.9 MB, free: 105.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004056/0.7639, allocations: 154.4 kB / 470 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.7642, allocations: 170.8 kB / 470.2 MB, free: 105.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.7642, allocations: 0.8438 kB / 470.2 MB, free: 105.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.7643, allocations: 4 kB / 470.2 MB, free: 105.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7643, allocations: 0 / 470.2 MB, free: 105.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009366/0.7652, allocations: 0.5246 MB / 470.7 MB, free: 104.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.7655, allocations: 217 kB / 470.9 MB, free: 104.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.7657, allocations: 112.4 kB / 471 MB, free: 104.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.7657, allocations: 3.875 kB / 471 MB, free: 104.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7658, allocations: 34.56 kB / 471.1 MB, free: 104.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.7658, allocations: 0 / 471.1 MB, free: 104.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.03367/0.7995, allocations: 4.623 MB / 475.7 MB, free: 102.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.7996, allocations: 59.39 kB / 475.8 MB, free: 102.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.7997, allocations: 92.69 kB / 475.9 MB, free: 102.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.7997, allocations: 25.7 kB / 475.9 MB, free: 102.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.7998, allocations: 91.92 kB / 476 MB, free: 102.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.7998, allocations: 27.39 kB / 476 MB, free: 102.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.7998, allocations: 0 / 476 MB, free: 102.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.7999, allocations: 314.8 kB / 476.3 MB, free: 102.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.8, allocations: 87.95 kB / 476.4 MB, free: 102.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.8002, allocations: 97.5 kB / 476.5 MB, free: 102.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03286/0.833, allocations: 4.485 MB / 481 MB, free: 98.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.8331, allocations: 0 / 481 MB, free: 98.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.03293/0.8661, allocations: 4.635 MB / 485.6 MB, free: 93.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.8662, allocations: 8.766 kB / 485.6 MB, free: 93.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8662, allocations: 4 kB / 485.6 MB, free: 93.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.8662, allocations: 3.938 kB / 485.6 MB, free: 93.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04369/0.9099, allocations: 5.473 MB / 491.1 MB, free: 87.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.9248, allocations: 2.618 MB / 493.7 MB, free: 85.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.9251, allocations: 36.02 kB / 493.7 MB, free: 85.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.9252, allocations: 19.97 kB / 493.8 MB, free: 85.23 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system with 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.0002012/0.9254, allocations: 106.4 kB / 493.9 MB, free: 85.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.9255, allocations: 4 kB / 493.9 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03181/0.9573, allocations: 4.67 MB / 498.5 MB, free: 80.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.9574, allocations: 4 kB / 498.5 MB, free: 80.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.9574, allocations: 3.953 kB / 498.5 MB, free: 80.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9574, allocations: 4 kB / 498.6 MB, free: 80.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.9577, allocations: 270.5 kB / 498.8 MB, free: 80.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9577, allocations: 0 / 498.8 MB, free: 80.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.9579, allocations: 43.97 kB / 498.9 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.959, allocations: 307.5 kB / 499.2 MB, free: 79.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.959, allocations: 11.98 kB / 499.2 MB, free: 79.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/0.9741, allocations: 2.85 MB / 0.4903 GB, free: 76.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.9742, allocations: 0 / 0.4903 GB, free: 76.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03177/1.006, allocations: 4.668 MB / 0.4948 GB, free: 72.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/1.006, allocations: 94.12 kB / 0.4949 GB, free: 72.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/1.006, allocations: 0 / 0.4949 GB, free: 72.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/1.006, allocations: 27.97 kB / 0.4949 GB, free: 72.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/1.007, allocations: 15.98 kB / 0.4949 GB, free: 72.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/1.007, allocations: 19.97 kB / 0.495 GB, free: 72.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.362e-05/1.007, allocations: 91.22 kB / 0.4951 GB, free: 71.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.007, allocations: 0 / 0.4951 GB, free: 71.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005528/1.007, allocations: 63.94 kB / 0.4951 GB, free: 71.88 MB / 346.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.0005063/1.008, allocations: 171.6 kB / 0.4953 GB, free: 71.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.04527/1.053, allocations: 5.788 MB / 0.5009 GB, free: 65.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.053, allocations: 4 kB / 0.5009 GB, free: 65.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.054, allocations: 332.7 kB / 0.5013 GB, free: 65.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/1.055, allocations: 7.984 kB / 0.5013 GB, free: 65.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/1.055, allocations: 223.2 kB / 0.5015 GB, free: 65.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/1.055, allocations: 0.6963 MB / 0.5022 GB, free: 64.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/1.055, allocations: 28.09 kB / 0.5022 GB, free: 64.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/1.056, allocations: 19.42 kB / 0.5022 GB, free: 64.57 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/1.056, allocations: 0 / 0.5022 GB, free: 64.57 MB / 346.7 MB Notification: Performance of Templates: time 0.007669/1.063, allocations: 3.963 MB / 0.5061 GB, free: 60.65 MB / 346.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -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:185: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:200: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:200: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:200: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:214: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:214: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:275: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