Running command: "" <> buildModelFMU(FCSys.Characteristics.Examples.LatentHeat,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_LatentHeat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(FCSys): time 1.869/1.869, allocations: 188.8 MB / 201 MB, free: 8.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.441e-05, allocations: 4.812 kB / 247.3 MB, free: 5.844 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 43.33 MB / 290.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.5685, allocations: 110 MB / 400.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5688, allocations: 77.22 kB / 400.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/0.6692, allocations: 20.69 MB / 421.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6693, allocations: 0 / 421.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.6693, allocations: 0.5625 kB / 421.4 MB, free: 1.922 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.001156/0.6705, allocations: 430.4 kB / 421.8 MB, free: 1.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/0.6706, allocations: 8.031 kB / 421.8 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.6707, allocations: 46.16 kB / 421.9 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/0.6931, allocations: 1.321 MB / 423.2 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.6935, allocations: 171 kB / 423.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6935, allocations: 7.688 kB / 423.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6937, allocations: 4.344 kB / 423.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.6945, allocations: 191.7 kB / 423.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6945, allocations: 4 kB / 423.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.6946, allocations: 0 / 423.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.6946, allocations: 7.938 kB / 423.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.6954, allocations: 149.7 kB / 423.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.6973, allocations: 0.5958 MB / 424.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.698, allocations: 215.6 kB / 424.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.6983, allocations: 109.9 kB / 424.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6983, allocations: 3.984 kB / 424.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.6984, allocations: 34.56 kB / 424.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.006e-06/0.6984, allocations: 0 / 424.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008485/0.6993, allocations: 235.5 kB / 424.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.6993, allocations: 59.39 kB / 425 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.6994, allocations: 92.94 kB / 425 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.6995, allocations: 25.7 kB / 425.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.6996, allocations: 92 kB / 425.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.6996, allocations: 23.52 kB / 425.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.6997, allocations: 8 kB / 425.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6998, allocations: 314.5 kB / 425.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.7002, allocations: 95.36 kB / 425.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.7007, allocations: 90.25 kB / 425.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.7011, allocations: 83.55 kB / 425.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7011, allocations: 0 / 425.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001293/0.7025, allocations: 235.8 kB / 426 MB, free: 13.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.7025, allocations: 4 kB / 426 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7025, allocations: 0 / 426 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.7026, allocations: 8 kB / 426 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09711/0.7997, allocations: 2.036 MB / 428 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.8041, allocations: 1.037 MB / 429.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.8046, allocations: 27.97 kB / 429.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.8047, allocations: 20.06 kB / 429.1 MB, free: 10.27 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.0001587/0.8049, allocations: 112.5 kB / 429.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.805, allocations: 0 / 429.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.8078, allocations: 0.5614 MB / 429.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8079, allocations: 8 kB / 429.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.808, allocations: 0 / 429.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.808, allocations: 0 / 429.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.8086, allocations: 308.2 kB / 430.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8086, allocations: 3.953 kB / 430.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.809, allocations: 43.52 kB / 430.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03498/0.844, allocations: 1.839 MB / 432 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.8442, allocations: 15.97 kB / 432 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.8476, allocations: 0.9326 MB / 432.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8476, allocations: 0 / 432.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.8501, allocations: 0.5473 MB / 433.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.8502, allocations: 89.02 kB / 433.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.8503, allocations: 7.938 kB / 433.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.8507, allocations: 27.97 kB / 433.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.8508, allocations: 11.3 kB / 433.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.8509, allocations: 35.86 kB / 433.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.851, allocations: 86.97 kB / 433.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.851, allocations: 0 / 433.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006762/0.8517, allocations: 67.44 kB / 433.8 MB, free: 5.664 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.003742/0.8555, allocations: 1.32 MB / 435.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.04457/0.9001, allocations: 2.373 MB / 437.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.9002, allocations: 0 / 437.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/0.9029, allocations: 348.7 kB / 437.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.9032, allocations: 20.44 kB / 437.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.9044, allocations: 285.4 kB / 438.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.9048, allocations: 0.7004 MB / 438.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.905, allocations: 24.86 kB / 438.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.9051, allocations: 34.12 kB / 438.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.9051, allocations: 0 / 438.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.9364, allocations: 5.658 MB / 444.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/0.9367, allocations: 163.5 kB / 444.7 MB, free: 10.9 MB / 346.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o FCSys_FCSys_Characteristics_Examples_LatentHeat.o FCSys_FCSys_Characteristics_Examples_LatentHeat.c In file included from FCSys_FCSys_Characteristics_Examples_LatentHeat.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_LatentHeat_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:196:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp6 = Less(data->localData[0]->realVars[11] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:78: error: use of undeclared identifier '_omcQuot_625F765B322C335D' array_alloc_scalar_real_array(&tmp8, 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:211:121: error: use of undeclared identifier '_omcQuot_625F765B322C325D' array_alloc_scalar_real_array(&tmp8, 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:211:173: error: use of undeclared identifier '_omcQuot_625F765B322C315D' array_alloc_scalar_real_array(&tmp8, 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:225:78: error: use of undeclared identifier '_omcQuot_625F765B312C325D' array_alloc_scalar_real_array(&tmp9, 3, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B312C325D, (modelica_real)(_omcQuot_625F765B312C315D) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:225:121: error: use of undeclared identifier '_omcQuot_625F765B312C315D' array_alloc_scalar_real_array(&tmp9, 3, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B312C325D, (modelica_real)(_omcQuot_625F765B312C315D) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:286:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ 2 warnings and 7 errors generated. : recipe for target 'FCSys_FCSys_Characteristics_Examples_LatentHeat.o' failed make: *** [FCSys_FCSys_Characteristics_Examples_LatentHeat.o] Error 1