Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009681/0.0009681, 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.278/1.278, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001, allocations: 112.3 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002548, allocations: 8 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2554, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09921/0.3547, allocations: 81.98 MB / 491.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.355, allocations: 71.97 kB / 491.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.3732, allocations: 6.645 MB / 498.2 MB, free: 1.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3732, allocations: 0 / 498.2 MB, free: 1.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.3733, allocations: 4.219 kB / 498.2 MB, free: 1.906 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008563/0.3741, allocations: 0.5537 MB / 498.7 MB, free: 1.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3742, allocations: 12.03 kB / 498.8 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.3743, allocations: 54.53 kB / 498.8 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3745, allocations: 27.72 kB / 498.8 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.3749, allocations: 270.4 kB / 499.1 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3749, allocations: 19.95 kB / 499.1 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.375, allocations: 16 kB / 499.1 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.3753, allocations: 161.4 kB / 499.3 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3753, allocations: 0 / 499.3 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.3754, allocations: 11.94 kB / 499.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3754, allocations: 4 kB / 499.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.3756, allocations: 127.9 kB / 499.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.3766, allocations: 0.5741 MB / 0.4883 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.377, allocations: 174.4 kB / 0.4885 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.377, allocations: 7.984 kB / 0.4885 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.3773, allocations: 122.5 kB / 0.4886 GB, free: 15.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.3773, allocations: 0 / 0.4886 GB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005286/0.3778, allocations: 241.5 kB / 0.4888 GB, free: 15.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3779, allocations: 55.41 kB / 0.4889 GB, free: 15.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3782, allocations: 240.2 kB / 0.4891 GB, free: 15.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3782, allocations: 29.7 kB / 0.4891 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3783, allocations: 152.3 kB / 0.4893 GB, free: 14.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.3784, allocations: 67.09 kB / 0.4893 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.3784, allocations: 4 kB / 0.4893 GB, free: 14.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3785, allocations: 334.8 kB / 0.4897 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3786, allocations: 47.98 kB / 0.4897 GB, free: 14.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3788, allocations: 87.58 kB / 0.4898 GB, free: 14.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3789, allocations: 64.12 kB / 0.4898 GB, free: 14.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3789, allocations: 0 / 0.4898 GB, free: 14.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003637/0.3793, allocations: 215.8 kB / 0.49 GB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3793, allocations: 4 kB / 0.4901 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3794, allocations: 0 / 0.4901 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3794, allocations: 4 kB / 0.4901 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3796, allocations: 47.97 kB / 0.4901 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3796, allocations: 15.98 kB / 0.4901 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3798, allocations: 19.84 kB / 0.4901 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3798, allocations: 4 kB / 0.4901 GB, free: 13.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001558/0.3799, allocations: 145.6 kB / 0.4903 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.38, allocations: 27.7 kB / 0.4903 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.3804, allocations: 218.7 kB / 0.4905 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3804, allocations: 8 kB / 0.4905 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3804, allocations: 3.984 kB / 0.4905 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.3805, allocations: 3.953 kB / 0.4905 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.3808, allocations: 297.4 kB / 0.4908 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3808, allocations: 0 / 0.4908 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.381, allocations: 43.91 kB / 0.4909 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.381, allocations: 0 / 0.4909 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3811, allocations: 8 kB / 0.4909 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3811, allocations: 3.938 kB / 0.4909 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3811, allocations: 0 / 0.4909 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.3816, allocations: 304.7 kB / 0.4912 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3817, allocations: 116.7 kB / 0.4913 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.3818, allocations: 4 kB / 0.4913 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.3819, allocations: 7.984 kB / 0.4913 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3819, allocations: 15.98 kB / 0.4913 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3819, allocations: 4 kB / 0.4913 GB, free: 12.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.3821, allocations: 200.5 kB / 0.4915 GB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3821, allocations: 0 / 0.4915 GB, free: 12.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.3824, allocations: 67.84 kB / 0.4916 GB, free: 12.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001631/0.3841, allocations: 1.153 MB / 0.4927 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.3844, allocations: 159.8 kB / 0.4928 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3844, allocations: 3.938 kB / 0.4928 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3846, allocations: 79.91 kB / 0.4929 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3849, allocations: 36.41 kB / 0.4929 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.3873, allocations: 1.922 MB / 0.4948 GB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.3877, allocations: 0.756 MB / 0.4956 GB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3879, allocations: 37.91 kB / 0.4956 GB, free: 8.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.388, allocations: 75.41 kB / 0.4957 GB, free: 8.219 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.388, allocations: 0 / 0.4957 GB, free: 8.219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.406, allocations: 4.939 MB / 0.5005 GB, free: 3.406 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.4062, allocations: 219.8 kB / 0.5007 GB, free: 3.156 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_Thermal_HeatTransfer_Examples_Motor.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor.c:7: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_functions.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_functions.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_functions.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_records.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_records.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_01exo.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_01exo.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_02nls.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_02nls.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_03lsy.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_03lsy.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_04set.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_04set.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_04set.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_05evt.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_05evt.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_06inz.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_06inz.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_07dly.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_07dly.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_08bnd.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_08bnd.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_09alg.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_09alg.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_10asr.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_10asr.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_11mix.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_11mix.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_12jac.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_12jac.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_13opt.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_13opt.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_14lnz.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_14lnz.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_15syn.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_15syn.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_16dae.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_16dae.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_17inl.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_17inl.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_init_fmu.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_init_fmu.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_FMU.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_FMU.c In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor_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_Thermal_HeatTransfer_Examples_Motor.so Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_functions.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_records.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_01exo.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_02nls.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_03lsy.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_04set.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_05evt.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_06inz.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_07dly.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_08bnd.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_09alg.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_10asr.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_11mix.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_12jac.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_13opt.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_14lnz.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_15syn.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_16dae.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_17inl.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_init_fmu.o Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Examples" -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_Thermal_HeatTransfer_Examples_Motor_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTimeTable_constructor': Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_functions.c:(.text+0x213): 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