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.0009595/0.0009595, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000875/0.000875, allocations: 106 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002028/0.0002028, allocations: 11.98 kB / 358 MB, free: 9.242 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09162/0.2666, allocations: 81.83 MB / 491.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.2669, allocations: 71.97 kB / 491.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.2846, allocations: 6.667 MB / 498.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2846, allocations: 0 / 498.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.2846, allocations: 7.938 kB / 498.1 MB, free: 2.012 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006957/0.2853, allocations: 0.5506 MB / 498.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2854, allocations: 8.031 kB / 498.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.2854, allocations: 38.56 kB / 498.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.2855, allocations: 19.81 kB / 498.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2858, allocations: 265.7 kB / 498.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2859, allocations: 8 kB / 499 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2859, allocations: 7.953 kB / 499 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2861, allocations: 121.9 kB / 499.1 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.2861, allocations: 0 / 499.1 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2861, allocations: 0 / 499.1 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2861, allocations: 4 kB / 499.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2863, allocations: 51.91 kB / 499.1 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.2869, allocations: 0.63 MB / 499.8 MB, free: 132 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.2872, allocations: 128.1 kB / 499.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2872, allocations: 4 kB / 499.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.2874, allocations: 125.9 kB / 0.4883 GB, free: 15.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2874, allocations: 4 kB / 0.4883 GB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004217/0.2879, allocations: 177.8 kB / 0.4885 GB, free: 15.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2879, allocations: 132.5 kB / 0.4886 GB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.2882, allocations: 268 kB / 0.4889 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2883, allocations: 33.7 kB / 0.4889 GB, free: 15.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.2883, allocations: 128.3 kB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2884, allocations: 27.72 kB / 0.489 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.2884, allocations: 7.938 kB / 0.489 GB, free: 15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2885, allocations: 342.9 kB / 0.4894 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.2886, allocations: 27.98 kB / 0.4894 GB, free: 14.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2887, allocations: 88.66 kB / 0.4895 GB, free: 14.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.2888, allocations: 44.08 kB / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.2888, allocations: 0 / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002572/0.2891, allocations: 149.2 kB / 0.4897 GB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2891, allocations: 4 kB / 0.4897 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2891, allocations: 0 / 0.4897 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2891, allocations: 4 kB / 0.4897 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.2892, allocations: 20.03 kB / 0.4897 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2892, allocations: 0 / 0.4897 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2894, allocations: 23.92 kB / 0.4897 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2894, allocations: 4 kB / 0.4897 GB, free: 14.28 MB / 378.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 () * Number of clocked 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 0.0001165/0.2895, allocations: 145.8 kB / 0.4899 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.2896, allocations: 19.72 kB / 0.4899 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.2898, allocations: 131.3 kB / 0.49 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2898, allocations: 0 / 0.49 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2898, allocations: 7.938 kB / 0.49 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2898, allocations: 0 / 0.49 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.2901, allocations: 253.5 kB / 0.4902 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2901, allocations: 0 / 0.4902 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.2901, allocations: 8 kB / 0.4903 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2901, allocations: 0 / 0.4903 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2901, allocations: 11.98 kB / 0.4903 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2901, allocations: 0 / 0.4903 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2901, allocations: 128 / 0.4903 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.2905, allocations: 225 kB / 0.4905 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.2906, allocations: 104.9 kB / 0.4906 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.2906, allocations: 4 kB / 0.4906 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2907, allocations: 19.98 kB / 0.4906 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2908, allocations: 11.97 kB / 0.4906 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2908, allocations: 8 kB / 0.4906 GB, free: 13.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.291, allocations: 212.5 kB / 0.4908 GB, free: 13.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.291, allocations: 3.938 kB / 0.4908 GB, free: 13.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.2913, allocations: 55.83 kB / 0.4909 GB, free: 12.96 MB / 378.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) * Number of clocked states: 0 () * 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.001358/0.2927, allocations: 1.195 MB / 0.492 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.2929, allocations: 99.83 kB / 0.4921 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2929, allocations: 0 / 0.4921 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2931, allocations: 55.98 kB / 0.4922 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.2934, allocations: 51.72 kB / 0.4922 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.2952, allocations: 1.768 MB / 0.494 GB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2955, allocations: 0.7516 MB / 0.4947 GB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.483e-05/0.2956, allocations: 21.55 kB / 0.4947 GB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.2957, allocations: 59.41 kB / 0.4948 GB, free: 8.973 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2957, allocations: 0 / 0.4948 GB, free: 8.973 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.3112, allocations: 4.716 MB / 0.4994 GB, free: 4.375 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.3115, allocations: 213.8 kB / 0.4996 GB, free: 4.129 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168: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+0x25a5): 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:58: nozip] Error 1