Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008586/0.0008586, allocations: 92 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.587e-05, allocations: 0 / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09702, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4447, allocations: 81.76 MB / 483.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.445, allocations: 70.22 kB / 483.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.4616, allocations: 6.648 MB / 490.6 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4616, allocations: 4 kB / 490.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.4617, allocations: 0 / 490.6 MB, free: 2.121 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006423/0.4623, allocations: 0.5082 MB / 491.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4624, allocations: 8.031 kB / 491.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.4624, allocations: 44.11 kB / 491.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.4625, allocations: 19.75 kB / 491.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.4628, allocations: 260 kB / 491.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4629, allocations: 11.61 kB / 491.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4629, allocations: 4 kB / 491.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.4631, allocations: 119.6 kB / 491.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4631, allocations: 0 / 491.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4631, allocations: 0 / 491.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4631, allocations: 4 kB / 491.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.4632, allocations: 46.42 kB / 491.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.4638, allocations: 0.6247 MB / 492.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.4639, allocations: 113.6 kB / 492.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.464, allocations: 47.2 kB / 492.4 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.4641, allocations: 9.578 kB / 492.4 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.4642, allocations: 116.2 kB / 492.5 MB, free: 156 kB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.4642, allocations: 0 / 492.5 MB, free: 156 kB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002598/0.4645, allocations: 135 kB / 492.6 MB, free: 40 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.4646, allocations: 136.5 kB / 492.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.4649, allocations: 266.9 kB / 493 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.465, allocations: 29.27 kB / 493.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.4651, allocations: 132.3 kB / 493.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.4651, allocations: 27.34 kB / 493.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.4651, allocations: 3.562 kB / 493.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4653, allocations: 337.9 kB / 493.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.4653, allocations: 29.75 kB / 493.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4654, allocations: 84.61 kB / 493.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.758e-05/0.4655, allocations: 34.02 kB / 493.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4655, allocations: 4 kB / 493.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002126/0.4657, allocations: 133.8 kB / 493.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4658, allocations: 9.406 kB / 493.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4658, allocations: 1.688 kB / 493.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4658, allocations: 4 kB / 493.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.4659, allocations: 15.98 kB / 493.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4659, allocations: 0 / 493.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.466, allocations: 23.83 kB / 493.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4661, allocations: 4 kB / 493.9 MB, free: 14.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.98e-05/0.4662, allocations: 125.5 kB / 494 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.4662, allocations: 23.72 kB / 494 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4664, allocations: 110.4 kB / 494.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4664, allocations: 0 / 494.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4664, allocations: 0 / 494.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4665, allocations: 4 kB / 494.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.4667, allocations: 259.8 kB / 494.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4667, allocations: 0 / 494.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.4667, allocations: 17.67 kB / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4667, allocations: 0 / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4668, allocations: 2.875 kB / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4668, allocations: 4 kB / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4668, allocations: 1.969 kB / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.467, allocations: 208.8 kB / 494.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.4671, allocations: 108.1 kB / 494.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.4672, allocations: 4 kB / 494.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4673, allocations: 15.55 kB / 494.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.4673, allocations: 11.98 kB / 494.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.4674, allocations: 11.69 kB / 494.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.4676, allocations: 213.5 kB / 495 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4676, allocations: 0 / 495 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.4678, allocations: 54.52 kB / 495 MB, free: 13.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001413/0.4693, allocations: 1.139 MB / 496.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.4695, allocations: 94.44 kB / 496.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4695, allocations: 0 / 496.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4696, allocations: 52.12 kB / 496.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.47, allocations: 52.28 kB / 496.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.4707, allocations: 341.1 kB / 496.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.471, allocations: 0.7439 MB / 497.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.4712, allocations: 26.8 kB / 497.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4713, allocations: 59.41 kB / 497.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4713, allocations: 0 / 497.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.489, allocations: 4.663 MB / 0.4904 GB, free: 6.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/0.4893, allocations: 191.2 kB / 0.4906 GB, free: 6.68 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.c:7: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_functions.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_functions.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_functions.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_records.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_records.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_01exo.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_01exo.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_02nls.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_02nls.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_03lsy.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_03lsy.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_04set.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_04set.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_04set.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_05evt.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_05evt.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_06inz.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_06inz.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_07dly.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_07dly.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_08bnd.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_08bnd.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_09alg.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_09alg.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_10asr.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_10asr.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_11mix.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_11mix.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_12jac.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_12jac.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_13opt.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_13opt.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_14lnz.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_14lnz.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_15syn.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_15syn.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_16dae.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_16dae.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_17inl.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_17inl.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_init_fmu.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_init_fmu.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_init_fmu.c:1: In file included from ./simulation_data.h:39: 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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_FMU.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_FMU.c In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_FMU.c:9: 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); ^ In file included from Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc: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); ^~~~ ./gc/../meta/../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. mkdir -p ../binaries/linux64 clang -shared -o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.so Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_functions.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_records.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_01exo.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_02nls.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_03lsy.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_04set.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_05evt.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_06inz.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_07dly.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_08bnd.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_09alg.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_10asr.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_11mix.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_12jac.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_13opt.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_14lnz.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_15syn.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_16dae.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_17inl.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_init_fmu.o Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Blocks" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaMatIO.a(ModelicaMatIO.o): in function `Mat_VarDelete': ModelicaMatIO.c:(.text+0x25f5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTimeTable_constructor': Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_functions.c:(.text+0x40e): undefined reference to `ModelicaStandardTables_CombiTimeTable_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1