Running command: translateModel(FCSys.Characteristics.Examples.LatentHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.LatentHeat") Notification: Performance of loadModel(FCSys): time 1.808/1.808, allocations: 188.8 MB / 201 MB, free: 8.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.917e-05/4.93e-05, allocations: 5.891 kB / 247.2 MB, free: 5.867 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09595, allocations: 43.33 MB / 290.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.468, allocations: 110 MB / 400.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4682, allocations: 71.95 kB / 400.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08781/0.556, allocations: 20.69 MB / 421.3 MB, free: 2.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.722e-06/0.5561, allocations: 0.5625 kB / 421.3 MB, free: 2.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.199e-06/0.5561, allocations: 0 / 421.3 MB, free: 2.348 MB / 314.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.0007386/0.5569, allocations: 425 kB / 421.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5569, allocations: 8.031 kB / 421.7 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.567, allocations: 1.318 MB / 423 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.5672, allocations: 166.8 kB / 423.2 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.5672, allocations: 7.922 kB / 423.2 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.5673, allocations: 4.344 kB / 423.2 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.5677, allocations: 176.3 kB / 423.4 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5678, allocations: 0 / 423.4 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.5678, allocations: 4 kB / 423.4 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.05e-06/0.5678, allocations: 4 kB / 423.4 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.5682, allocations: 150 kB / 423.5 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.5694, allocations: 0.5468 MB / 424.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.5699, allocations: 215.6 kB / 424.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.5702, allocations: 110.5 kB / 424.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5702, allocations: 3.984 kB / 424.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5703, allocations: 30.56 kB / 424.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.5703, allocations: 0 / 424.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.000786/0.5711, allocations: 242.9 kB / 424.7 MB, free: 15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.5712, allocations: 51.41 kB / 424.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.5713, allocations: 96.8 kB / 424.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.5713, allocations: 29.7 kB / 424.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.5714, allocations: 88.08 kB / 424.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.5715, allocations: 19.12 kB / 425 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.5715, allocations: 4 kB / 425 MB, free: 14.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5717, allocations: 318.3 kB / 425.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.5719, allocations: 90.81 kB / 425.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.5721, allocations: 90.92 kB / 425.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.5724, allocations: 87 kB / 425.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-06/0.5724, allocations: 0 / 425.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000648/0.573, allocations: 246.7 kB / 425.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5731, allocations: 4 kB / 425.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.528e-06/0.5731, allocations: 0 / 425.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.5731, allocations: 4 kB / 425.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0227/0.5958, allocations: 2.029 MB / 427.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.5987, allocations: 1.03 MB / 428.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.5991, allocations: 47.42 kB / 428.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.5992, allocations: 15.98 kB / 428.9 MB, free: 10.82 MB / 330.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 (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.0001424/0.5993, allocations: 105 kB / 429 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.5994, allocations: 0 / 429 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.6016, allocations: 0.5544 MB / 429.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.6017, allocations: 7.953 kB / 429.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6017, allocations: 0 / 429.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6017, allocations: 7.969 kB / 429.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.6023, allocations: 304.4 kB / 429.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-06/0.6023, allocations: 0 / 429.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.6026, allocations: 47.91 kB / 429.9 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01908/0.6216, allocations: 1.839 MB / 431.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/0.6218, allocations: 11.73 kB / 431.8 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.6242, allocations: 0.9329 MB / 432.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.183e-06/0.6242, allocations: 0 / 432.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.6261, allocations: 0.562 MB / 433.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.6262, allocations: 85.02 kB / 433.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.6263, allocations: 3.5 kB / 433.4 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.6266, allocations: 27.97 kB / 433.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.6267, allocations: 23.66 kB / 433.4 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.6268, allocations: 15.98 kB / 433.4 MB, free: 6.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.527e-05/0.6268, allocations: 82.66 kB / 433.5 MB, free: 6.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.6269, allocations: 0 / 433.5 MB, free: 6.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005718/0.6274, allocations: 71.48 kB / 433.6 MB, free: 6.223 MB / 330.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.0004592/0.6279, allocations: 166.8 kB / 433.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02401/0.6519, allocations: 2.375 MB / 436.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.523e-06/0.652, allocations: 0 / 436.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.6538, allocations: 345.6 kB / 436.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.6541, allocations: 16.14 kB / 436.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.6547, allocations: 215 kB / 436.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6551, allocations: 0.6965 MB / 437.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.6553, allocations: 24.7 kB / 437.4 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.6554, allocations: 26.98 kB / 437.4 MB, free: 2.449 MB / 330.7 MB Notification: Performance of SimCode: time 1.948e-06/0.6554, allocations: 0 / 437.4 MB, free: 2.449 MB / 330.7 MB Notification: Performance of Templates: time 0.01138/0.6668, allocations: 4.351 MB / 441.8 MB, free: 14.1 MB / 346.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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:202:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp7 = Less(data->localData[0]->realVars[11] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:78: error: use of undeclared identifier '_omcQuot_625F765B322C335D' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B322C335D, (modelica_real)(_omcQuot_625F765B322C325D) * (2.0), (modelica_real)(_omcQuot_625F765B322C315D) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:121: error: use of undeclared identifier '_omcQuot_625F765B322C325D' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B322C335D, (modelica_real)(_omcQuot_625F765B322C325D) * (2.0), (modelica_real)(_omcQuot_625F765B322C315D) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:173: error: use of undeclared identifier '_omcQuot_625F765B322C315D' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B322C335D, (modelica_real)(_omcQuot_625F765B322C325D) * (2.0), (modelica_real)(_omcQuot_625F765B322C315D) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:231:79: error: use of undeclared identifier '_omcQuot_625F765B312C325D' array_alloc_scalar_real_array(&tmp10, 3, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B312C325D, (modelica_real)(_omcQuot_625F765B312C315D) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:231:122: error: use of undeclared identifier '_omcQuot_625F765B312C315D' array_alloc_scalar_real_array(&tmp10, 3, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B312C325D, (modelica_real)(_omcQuot_625F765B312C315D) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:292:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ 7 errors generated. : recipe for target 'FCSys_FCSys.Characteristics.Examples.LatentHeat.o' failed make: *** [FCSys_FCSys.Characteristics.Examples.LatentHeat.o] Error 1