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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005205/0.005205, allocations: 174.1 kB / 7.45 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.03355/0.03355, allocations: 2.944 MB / 10.81 MB, free: 1.633 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.302/1.302, allocations: 221.4 MB / 233.6 MB, free: 15.71 MB / 202.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 96.72 kB / 285.3 MB, free: 13.27 MB / 234.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1387/0.1397, allocations: 57.46 MB / 342.8 MB, free: 3.781 MB / 282.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.4781, allocations: 51.34 MB / 394.1 MB, free: 34.71 MB / 298.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.5911, allocations: 78.2 MB / 472.3 MB, free: 4.383 MB / 346.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.5914, allocations: 65.44 kB / 472.4 MB, free: 4.32 MB / 346.9 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: 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.01041/0.6018, allocations: 3.735 MB / 476.1 MB, free: 0.5391 MB / 346.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6018, allocations: 8.625 kB / 476.1 MB, free: 0.5312 MB / 346.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.6019, allocations: 7.906 kB / 476.1 MB, free: 0.5234 MB / 346.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.6021, allocations: 168.2 kB / 476.3 MB, free: 328 kB / 346.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.6022, allocations: 0 / 476.3 MB, free: 328 kB / 346.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.6022, allocations: 4 kB / 476.3 MB, free: 324 kB / 346.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.167e-05/0.6022, allocations: 4.688 kB / 476.3 MB, free: 320 kB / 346.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.6023, allocations: 45.86 kB / 476.4 MB, free: 264 kB / 346.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6024, allocations: 0 / 476.4 MB, free: 264 kB / 346.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6024, allocations: 3.906 kB / 476.4 MB, free: 260 kB / 346.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.6024, allocations: 3.984 kB / 476.4 MB, free: 256 kB / 346.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.6028, allocations: 457.3 kB / 476.8 MB, free: 15.76 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/0.6029, allocations: 169.1 kB / 477 MB, free: 15.59 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.6029, allocations: 84.05 kB / 477.1 MB, free: 15.5 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.603, allocations: 75.28 kB / 477.1 MB, free: 15.43 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.6031, allocations: 113.8 kB / 477.2 MB, free: 15.3 MB / 362.9 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.6031, allocations: 4 kB / 477.2 MB, free: 15.3 MB / 362.9 MB Notification: Performance of matching and sorting (n=0): time 8.252e-05/0.6032, allocations: 25.7 kB / 477.3 MB, free: 15.27 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6032, allocations: 51.41 kB / 477.3 MB, free: 15.21 MB / 362.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6033, allocations: 105 kB / 477.4 MB, free: 15.1 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.6033, allocations: 25.7 kB / 477.4 MB, free: 15.07 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.6034, allocations: 95.92 kB / 477.5 MB, free: 14.97 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.6034, allocations: 0 / 477.5 MB, free: 14.97 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.6034, allocations: 0 / 477.5 MB, free: 14.97 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6035, allocations: 314.8 kB / 477.8 MB, free: 14.65 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.6036, allocations: 4 kB / 477.9 MB, free: 14.65 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.6036, allocations: 17.7 kB / 477.9 MB, free: 14.62 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.6036, allocations: 4 kB / 477.9 MB, free: 14.62 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6036, allocations: 0 / 477.9 MB, free: 14.62 MB / 362.9 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001442/0.6038, allocations: 37.7 kB / 477.9 MB, free: 14.58 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6038, allocations: 4 kB / 477.9 MB, free: 14.57 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6038, allocations: 8.062 kB / 477.9 MB, free: 14.57 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6039, allocations: 0 / 477.9 MB, free: 14.57 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.6039, allocations: 15.83 kB / 477.9 MB, free: 14.55 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6039, allocations: 0 / 477.9 MB, free: 14.55 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.604, allocations: 0 / 477.9 MB, free: 14.55 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.604, allocations: 4 kB / 477.9 MB, free: 14.55 MB / 362.9 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 9.743e-05/0.6041, allocations: 180.3 kB / 478.1 MB, free: 14.36 MB / 362.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.6042, allocations: 108.9 kB / 478.2 MB, free: 14.25 MB / 362.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.6042, allocations: 116.4 kB / 478.3 MB, free: 14.12 MB / 362.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/0.6043, allocations: 176.3 kB / 478.5 MB, free: 13.95 MB / 362.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-05/0.6044, allocations: 176.3 kB / 478.7 MB, free: 13.77 MB / 362.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.811e-05/0.6045, allocations: 184.2 kB / 478.9 MB, free: 13.58 MB / 362.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.6047, allocations: 385.7 kB / 479.2 MB, free: 13.16 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/0.6048, allocations: 109 kB / 479.3 MB, free: 13.04 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.6048, allocations: 104.9 kB / 479.4 MB, free: 12.93 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/0.6049, allocations: 180.2 kB / 479.6 MB, free: 12.75 MB / 362.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.605, allocations: 176.3 kB / 479.8 MB, free: 12.57 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.345e-05/0.6051, allocations: 184.2 kB / 480 MB, free: 12.38 MB / 362.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001045/0.6052, allocations: 189.4 kB / 480.2 MB, free: 12.19 MB / 362.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002095/0.6054, allocations: 307.8 kB / 480.5 MB, free: 11.87 MB / 362.9 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004493/0.6059, allocations: 0.6642 MB / 481.1 MB, free: 11.18 MB / 362.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.606, allocations: 194 kB / 481.3 MB, free: 10.96 MB / 362.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6061, allocations: 184.5 kB / 481.5 MB, free: 10.77 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.6062, allocations: 101 kB / 481.6 MB, free: 10.67 MB / 362.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.6064, allocations: 184.2 kB / 481.8 MB, free: 10.48 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.6064, allocations: 109.2 kB / 481.9 MB, free: 10.37 MB / 362.9 MB Notification: Performance of sort global known variables: time 6.822e-05/0.6065, allocations: 87.28 kB / 482 MB, free: 10.28 MB / 362.9 MB Notification: Performance of remove unused functions: time 0.0009085/0.6074, allocations: 8 kB / 482 MB, free: 10.27 MB / 362.9 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.000552/0.608, allocations: 210 kB / 482.2 MB, free: 10.07 MB / 362.9 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.6081, allocations: 11.98 kB / 482.2 MB, free: 10.06 MB / 362.9 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6081, allocations: 8.062 kB / 482.2 MB, free: 10.05 MB / 362.9 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.6081, allocations: 0 / 482.2 MB, free: 10.05 MB / 362.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.6087, allocations: 0.5224 MB / 482.7 MB, free: 9.527 MB / 362.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.609, allocations: 131.2 kB / 482.8 MB, free: 9.375 MB / 362.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.6094, allocations: 0.6958 MB / 483.5 MB, free: 8.652 MB / 362.9 MB Notification: Performance of SimCode: time 2.8e-07/0.6094, allocations: 0 / 483.5 MB, free: 8.652 MB / 362.9 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.TIRTest/ExternData_ExternData_Examples_TIRTest.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:2: In file included from ./ExternData_ExternData_Examples_TIRTest_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ExternData_ExternData_Examples_TIRTest_06inz.c:21: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:34: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 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.TIRTest/ExternData_ExternData_Examples_TIRTest.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f ExternData_ExternData_Examples_TIRTest.def ExternData_ExternData_Examples_TIRTest.o ExternData_ExternData_Examples_TIRTest.a ExternData_ExternData_Examples_TIRTest.so ExternData_ExternData_Examples_TIRTest_FMU.o ExternData_ExternData_Examples_TIRTest.o ExternData_ExternData_Examples_TIRTest_functions.o ExternData_ExternData_Examples_TIRTest_records.o ExternData_ExternData_Examples_TIRTest_01exo.o ExternData_ExternData_Examples_TIRTest_02nls.o ExternData_ExternData_Examples_TIRTest_03lsy.o ExternData_ExternData_Examples_TIRTest_04set.o ExternData_ExternData_Examples_TIRTest_05evt.o ExternData_ExternData_Examples_TIRTest_06inz.o ExternData_ExternData_Examples_TIRTest_07dly.o ExternData_ExternData_Examples_TIRTest_08bnd.o ExternData_ExternData_Examples_TIRTest_09alg.o ExternData_ExternData_Examples_TIRTest_10asr.o ExternData_ExternData_Examples_TIRTest_11mix.o ExternData_ExternData_Examples_TIRTest_12jac.o ExternData_ExternData_Examples_TIRTest_13opt.o ExternData_ExternData_Examples_TIRTest_14lnz.o ExternData_ExternData_Examples_TIRTest_15syn.o ExternData_ExternData_Examples_TIRTest_16dae.o ExternData_ExternData_Examples_TIRTest_17inl.o ExternData_ExternData_Examples_TIRTest_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o