Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.02786/0.02786, allocations: 2.946 MB / 11.02 MB, free: 1.629 MB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 233.9 MB, free: 3.605 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009062/0.0009062, allocations: 99.56 kB / 285.7 MB, free: 108 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.354e-05, allocations: 0 / 343.3 MB, free: 5.418 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1533, allocations: 51.34 MB / 394.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/0.5955, allocations: 78.21 MB / 472.9 MB, free: 9.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5958, allocations: 67.97 kB / 473 MB, free: 9.273 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo:309:3-334:14:writable] Error: Ignoring record component: ExternalObject ExternData.Types.ExternINIFile tir; when building the record constructor. Records are allowed to contain only components of basic types, arrays of basic types or other records. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo:320:23-320:172:writable] Warning: Ignoring external declaration of the extended class: getReal. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Examples/package.mo:244:43-244:100:writable] Error: Variable tir not found in scope ExternData.Examples.TIRTest. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Examples/package.mo:245:43-245:95:writable] Error: Variable tir not found in scope ExternData.Examples.TIRTest. Notification: Performance of FrontEnd - DAE generated: time 0.005419/0.6013, allocations: 2.117 MB / 475.1 MB, free: 7.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6013, allocations: 2.75 kB / 475.1 MB, free: 7.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.6013, allocations: 4 kB / 475.1 MB, free: 7.133 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002764/0.6016, allocations: 330.5 kB / 475.4 MB, free: 6.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6016, allocations: 15.98 kB / 475.4 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.6017, allocations: 4.734 kB / 475.4 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.6018, allocations: 171 kB / 475.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6019, allocations: 6.516 kB / 475.6 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.6019, allocations: 3.984 kB / 475.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.509e-05/0.6019, allocations: 4 kB / 475.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.994e-05/0.602, allocations: 39.42 kB / 475.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.602, allocations: 0 / 475.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.602, allocations: 8.797 kB / 475.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.602, allocations: 0 / 475.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.6024, allocations: 452.2 kB / 476.1 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/0.6025, allocations: 169.2 kB / 476.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.6025, allocations: 88.02 kB / 476.4 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.6025, allocations: 75.28 kB / 476.4 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.6026, allocations: 113.8 kB / 476.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6026, allocations: 0 / 476.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.56e-05/0.6027, allocations: 34 kB / 476.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.6027, allocations: 55.34 kB / 476.6 MB, free: 5.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.6028, allocations: 101 kB / 476.7 MB, free: 5.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.6028, allocations: 25.7 kB / 476.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.6029, allocations: 91.98 kB / 476.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.6029, allocations: 0 / 476.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.6029, allocations: 4 kB / 476.8 MB, free: 5.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.603, allocations: 318.8 kB / 477.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.603, allocations: 0 / 477.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.6031, allocations: 13.72 kB / 477.2 MB, free: 4.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.6031, allocations: 7.938 kB / 477.2 MB, free: 4.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6031, allocations: 4 kB / 477.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001277/0.6033, allocations: 45.69 kB / 477.2 MB, free: 4.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6033, allocations: 4 kB / 477.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6033, allocations: 4 kB / 477.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6033, allocations: 0 / 477.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.6034, allocations: 4 kB / 477.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6034, allocations: 3.953 kB / 477.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.6034, allocations: 0 / 477.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.6034, allocations: 0 / 477.2 MB, free: 4.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/0.6035, allocations: 184.3 kB / 477.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.755e-05/0.6036, allocations: 142.7 kB / 477.6 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.6037, allocations: 101 kB / 477.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.6037, allocations: 116.8 kB / 477.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/0.6038, allocations: 180.3 kB / 477.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.487e-05/0.6038, allocations: 176.3 kB / 478.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.355e-05/0.6039, allocations: 184.2 kB / 478.3 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.6041, allocations: 389.8 kB / 478.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.6042, allocations: 101 kB / 478.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.6042, allocations: 108.9 kB / 478.9 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-05/0.6043, allocations: 176.3 kB / 479.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.6043, allocations: 176.3 kB / 479.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.441e-05/0.6044, allocations: 188.2 kB / 479.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-05/0.6045, allocations: 180.2 kB / 479.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.6046, allocations: 307.7 kB / 479.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.6047, allocations: 190.1 kB / 480.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.6047, allocations: 181.3 kB / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.6048, allocations: 105.2 kB / 480.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.6049, allocations: 180.3 kB / 480.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.6049, allocations: 112.9 kB / 480.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.605, allocations: 83.27 kB / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.605, allocations: 0 / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000217/0.6052, allocations: 12 kB / 480.7 MB, free: 1.055 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01472/0.62, allocations: 0.8554 MB / 481.6 MB, free: 188 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.6201, allocations: 8 kB / 481.6 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6202, allocations: 0 / 481.6 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.794e-06/0.6202, allocations: 8.25 kB / 481.6 MB, free: 172 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.6207, allocations: 0.5226 MB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.6212, allocations: 176.8 kB / 482.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.6214, allocations: 0.6768 MB / 483 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.6215, allocations: 0 / 483 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.6215, allocations: 11.44 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6215, allocations: 0 / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.6461, allocations: 0.8442 MB / 483.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.6464, allocations: 138.6 kB / 484 MB, free: 13.69 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_FMU.o ExternData_ExternData_Examples_TIRTest_FMU.c In file included from ExternData_ExternData_Examples_TIRTest_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ExternData_ExternData_Examples_TIRTest_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest.o ExternData_ExternData_Examples_TIRTest.c In file included from ExternData_ExternData_Examples_TIRTest.c:7: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_functions.o ExternData_ExternData_Examples_TIRTest_functions.c In file included from ExternData_ExternData_Examples_TIRTest_functions.c:1: In file included from ./ExternData_ExternData_Examples_TIRTest_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_records.o ExternData_ExternData_Examples_TIRTest_records.c In file included from ExternData_ExternData_Examples_TIRTest_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_01exo.o ExternData_ExternData_Examples_TIRTest_01exo.c In file included from ExternData_ExternData_Examples_TIRTest_01exo.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_02nls.o ExternData_ExternData_Examples_TIRTest_02nls.c In file included from ExternData_ExternData_Examples_TIRTest_02nls.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_03lsy.o ExternData_ExternData_Examples_TIRTest_03lsy.c In file included from ExternData_ExternData_Examples_TIRTest_03lsy.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_04set.o ExternData_ExternData_Examples_TIRTest_04set.c In file included from ExternData_ExternData_Examples_TIRTest_04set.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_05evt.o ExternData_ExternData_Examples_TIRTest_05evt.c In file included from ExternData_ExternData_Examples_TIRTest_05evt.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -DOMC_MODEL_PREFIX=ExternData_ExternData_Examples_TIRTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternData_ExternData_Examples_TIRTest_06inz.o ExternData_ExternData_Examples_TIRTest_06inz.c In file included from ExternData_ExternData_Examples_TIRTest_06inz.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ExternData_ExternData_Examples_TIRTest_06inz.c:20:120: error: use of undeclared identifier '$Ptir' data->simulationInfo->realParameter[0] = omc_ExternData_TIRFile$dataSource_getReal(threadData, _OMC_LIT1, _OMC_LIT2, $Ptir, 0, NULL); ^ ExternData_ExternData_Examples_TIRTest_06inz.c:33:120: error: use of undeclared identifier '$Ptir' data->simulationInfo->realParameter[1] = omc_ExternData_TIRFile$dataSource_getReal(threadData, _OMC_LIT3, _OMC_LIT4, $Ptir, 0, NULL); ^ 2 warnings and 2 errors generated. make: *** [: ExternData_ExternData_Examples_TIRTest_06inz.o] Error 1