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.0009811/0.000981, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.01915/0.01915, allocations: 2.947 MB / 16.21 MB, free: 3.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.4 MB / 239 MB, free: 10.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009298, allocations: 91.36 kB / 290.9 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.231e-05, allocations: 0 / 350.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 51.34 MB / 401.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4385, allocations: 78.88 MB / 480.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4388, allocations: 71.95 kB / 480.5 MB, free: 15.07 MB / 362.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.005809/0.4446, allocations: 2.249 MB / 482.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4446, allocations: 0 / 482.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.4446, allocations: 8 kB / 482.8 MB, free: 12.79 MB / 362.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.0003551/0.445, allocations: 322.6 kB / 483.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4451, allocations: 16.02 kB / 483.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.4451, allocations: 34.52 kB / 483.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.4451, allocations: 3.906 kB / 483.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.4453, allocations: 167.1 kB / 483.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.4454, allocations: 1.344 kB / 483.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4454, allocations: 0 / 483.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.4455, allocations: 48.28 kB / 483.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4455, allocations: 0 / 483.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4455, allocations: 8 kB / 483.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.4455, allocations: 3.953 kB / 483.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.4456, allocations: 4 kB / 483.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.446, allocations: 471.6 kB / 483.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.4461, allocations: 173.1 kB / 484 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.4461, allocations: 84.52 kB / 484.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4462, allocations: 79.22 kB / 484.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.4462, allocations: 109.8 kB / 484.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4462, allocations: 0 / 484.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.813e-05/0.4463, allocations: 33.64 kB / 484.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4464, allocations: 130.7 kB / 484.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4465, allocations: 124.1 kB / 484.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4466, allocations: 25.7 kB / 484.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.4466, allocations: 80.14 kB / 484.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.4466, allocations: 4 kB / 484.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4466, allocations: 4 kB / 484.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4467, allocations: 310.8 kB / 485 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.4468, allocations: 7.984 kB / 485 MB, free: 10.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.4468, allocations: 21.72 kB / 485 MB, free: 10.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.4468, allocations: 4 kB / 485 MB, free: 10.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4468, allocations: 0 / 485 MB, free: 10.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/0.447, allocations: 53.62 kB / 485 MB, free: 10.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.447, allocations: 13.66 kB / 485.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.447, allocations: 3.953 kB / 485.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.447, allocations: 0 / 485.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.4471, allocations: 8 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4471, allocations: 4.062 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.4472, allocations: 4 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4472, allocations: 0 / 485.1 MB, free: 10.25 MB / 362.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 (4): * Single equations (assignments): 4 * 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 9.487e-05/0.4473, allocations: 190.1 kB / 485.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.4474, allocations: 104.9 kB / 485.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.4474, allocations: 108.6 kB / 485.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.285e-05/0.4475, allocations: 184.2 kB / 485.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.77e-05/0.4476, allocations: 184.3 kB / 485.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-05/0.4476, allocations: 184.2 kB / 486 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.4479, allocations: 405.2 kB / 486.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/0.4479, allocations: 105 kB / 486.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.448, allocations: 104.9 kB / 486.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.202e-05/0.4481, allocations: 180.3 kB / 486.8 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/0.4482, allocations: 184.2 kB / 487 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.153e-05/0.4483, allocations: 180.3 kB / 487.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.889e-05/0.4484, allocations: 188.2 kB / 487.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.4485, allocations: 303.8 kB / 487.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.4486, allocations: 198 kB / 487.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.4487, allocations: 176.3 kB / 488 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.4488, allocations: 101 kB / 488.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4489, allocations: 193.2 kB / 488.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.449, allocations: 105 kB / 488.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.456e-05/0.449, allocations: 95.22 kB / 488.5 MB, free: 6.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.449, allocations: 0 / 488.5 MB, free: 6.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.4493, allocations: 11.91 kB / 488.5 MB, free: 6.621 MB / 362.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.001091/0.4504, allocations: 0.8396 MB / 489.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.727e-05/0.4504, allocations: 12 kB / 489.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4505, allocations: 0 / 489.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.4505, allocations: 3.938 kB / 489.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4509, allocations: 0.5342 MB / 489.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.4513, allocations: 173.8 kB / 490 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.4517, allocations: 0.677 MB / 490.7 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.4517, allocations: 4 kB / 490.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.4517, allocations: 15.42 kB / 490.7 MB, free: 4.285 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4517, allocations: 0 / 490.7 MB, free: 4.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.4661, allocations: 1.165 MB / 491.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.4663, allocations: 163.8 kB / 492.1 MB, free: 2.996 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -c -o ExternData_ExternData_Examples_TIRTest_functions.o ExternData_ExternData_Examples_TIRTest_functions.c In file included from ExternData_ExternData_Examples_TIRTest_functions.c:2: In file included from ./ExternData_ExternData_Examples_TIRTest_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -c -o ExternData_ExternData_Examples_TIRTest_records.o ExternData_ExternData_Examples_TIRTest_records.c In file included from ExternData_ExternData_Examples_TIRTest_records.c:4: In file included from ./meta/meta_modelica.h:49: ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/Resources/Include" -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 ./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); ^ ExternData_ExternData_Examples_TIRTest_06inz.c:20:142: error: use of undeclared identifier 'tir' data->simulationInfo->realParameter[2] /* pcy1.k PARAM */ = omc_ExternData_D_TIRFile24dataSource_getReal(threadData, _OMC_LIT1, _OMC_LIT2, tir, 0, NULL); ^ ExternData_ExternData_Examples_TIRTest_06inz.c:46:142: error: use of undeclared identifier 'tir' data->simulationInfo->realParameter[0] /* pcx1.k PARAM */ = omc_ExternData_D_TIRFile24dataSource_getReal(threadData, _OMC_LIT3, _OMC_LIT4, tir, 0, NULL); ^ 2 warnings and 2 errors generated. make: *** [: ExternData_ExternData_Examples_TIRTest_06inz.o] Error 1