Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.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.LogicalNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.LogicalNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009782/0.0009783, allocations: 198.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.189/1.189, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 103.7 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002101/0.0002101, allocations: 8 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08589/0.2671, allocations: 81.56 MB / 491 MB, free: 9.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.2673, allocations: 73.25 kB / 491.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02619/0.2935, allocations: 10.19 MB / 0.4896 GB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2935, allocations: 0 / 0.4896 GB, free: 14.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.2936, allocations: 11.94 kB / 0.4896 GB, free: 14.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008392/0.2944, allocations: 0.666 MB / 0.4902 GB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2945, allocations: 12.02 kB / 0.4902 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.2945, allocations: 46.5 kB / 0.4903 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.2946, allocations: 31.62 kB / 0.4903 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.2951, allocations: 349.3 kB / 0.4906 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2952, allocations: 15.95 kB / 0.4907 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.2952, allocations: 15.98 kB / 0.4907 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.2955, allocations: 148.8 kB / 0.4908 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2955, allocations: 0 / 0.4908 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2955, allocations: 4 kB / 0.4908 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2955, allocations: 0 / 0.4908 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2957, allocations: 77.98 kB / 0.4909 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.2963, allocations: 0.516 MB / 0.4914 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.2966, allocations: 138.7 kB / 0.4915 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2967, allocations: 4 kB / 0.4915 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.2969, allocations: 122.1 kB / 0.4917 GB, free: 12.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2969, allocations: 0 / 0.4917 GB, free: 12.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004473/0.2973, allocations: 225.1 kB / 0.4919 GB, free: 12.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.2974, allocations: 110.8 kB / 0.492 GB, free: 12.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.2979, allocations: 412.8 kB / 0.4924 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.2979, allocations: 29.7 kB / 0.4924 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.298, allocations: 187.8 kB / 0.4926 GB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.2981, allocations: 39.55 kB / 0.4926 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2981, allocations: 0 / 0.4926 GB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2982, allocations: 342.8 kB / 0.4929 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2983, allocations: 47.97 kB / 0.493 GB, free: 11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.2985, allocations: 112.1 kB / 0.4931 GB, free: 10.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2986, allocations: 51.14 kB / 0.4931 GB, free: 10.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2986, allocations: 0 / 0.4931 GB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003019/0.2989, allocations: 184 kB / 0.4933 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2989, allocations: 7.953 kB / 0.4933 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2989, allocations: 3.938 kB / 0.4933 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2989, allocations: 4 kB / 0.4933 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2991, allocations: 19.98 kB / 0.4933 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2991, allocations: 4 kB / 0.4934 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2992, allocations: 23.83 kB / 0.4934 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.2992, allocations: 8 kB / 0.4934 GB, free: 10.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEvent,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,And1.u1,And1.u2,And1.y,Or1.u1,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001469/0.2994, allocations: 171.6 kB / 0.4935 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.2994, allocations: 27.62 kB / 0.4936 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.2998, allocations: 208.4 kB / 0.4938 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2998, allocations: 4 kB / 0.4938 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2998, allocations: 0 / 0.4938 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2998, allocations: 4.031 kB / 0.4938 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.3001, allocations: 325.3 kB / 0.4941 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3001, allocations: 8 kB / 0.4941 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.3001, allocations: 11.94 kB / 0.4941 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3002, allocations: 0 / 0.4941 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3002, allocations: 7.984 kB / 0.4941 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3002, allocations: 3.953 kB / 0.4941 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3002, allocations: 0 / 0.4941 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3005, allocations: 215.5 kB / 0.4943 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3006, allocations: 128.7 kB / 0.4944 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.3007, allocations: 15.98 kB / 0.4945 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.3008, allocations: 12 kB / 0.4945 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.3009, allocations: 23.86 kB / 0.4945 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3009, allocations: 4 kB / 0.4945 GB, free: 9.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003362/0.3012, allocations: 335.1 kB / 0.4948 GB, free: 9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3012, allocations: 0 / 0.4948 GB, free: 9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.3015, allocations: 60.25 kB / 0.4949 GB, free: 8.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,And1.u1,And1.u2,And1.y,Or1.u1,Pre1.u) * Number of discrete states: 5 (Pre1.u,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001333/0.3028, allocations: 1.085 MB / 0.4959 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.3032, allocations: 143.7 kB / 0.4961 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3032, allocations: 0 / 0.4961 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3033, allocations: 68.09 kB / 0.4961 GB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3036, allocations: 71.98 kB / 0.4962 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.306, allocations: 2.002 MB / 0.4982 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.3063, allocations: 0.7833 MB / 0.4989 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.3065, allocations: 54.23 kB / 0.499 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3066, allocations: 99.41 kB / 0.4991 GB, free: 4.672 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3066, allocations: 0 / 0.4991 GB, free: 4.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/0.4622, allocations: 6.9 MB / 0.5058 GB, free: 94.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000111/0.4623, allocations: 200.1 kB / 0.506 GB, free: 94.07 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_LogicalNetwork1.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1.c:7: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_functions.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_functions.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_functions.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_records.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_records.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_01exo.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_01exo.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_02nls.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_02nls.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_03lsy.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_03lsy.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_04set.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_04set.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_04set.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_05evt.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_05evt.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_06inz.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_06inz.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_07dly.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_07dly.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_08bnd.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_08bnd.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_09alg.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_09alg.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_10asr.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_10asr.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_11mix.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_11mix.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_12jac.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_12jac.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_13opt.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_13opt.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_14lnz.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_14lnz.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_15syn.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_15syn.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_16dae.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_16dae.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_17inl.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_17inl.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_init_fmu.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_init_fmu.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_FMU.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_FMU.c In file included from Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_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_LogicalNetwork1.so Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_functions.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_records.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_01exo.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_02nls.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_03lsy.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_04set.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_05evt.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_06inz.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_07dly.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_08bnd.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_09alg.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_10asr.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_11mix.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_12jac.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_13opt.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_14lnz.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_15syn.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_16dae.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_17inl.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_init_fmu.o Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_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_LogicalNetwork1_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTimeTable_constructor': Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1_functions.c:(.text+0x609): 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