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.00117/0.00117, allocations: 195.8 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 89.39 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-05/4.972e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.6222, allocations: 81.91 MB / 484 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.6225, allocations: 68.14 kB / 484.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.6386, allocations: 6.626 MB / 490.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6386, allocations: 0 / 490.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.6387, allocations: 8 kB / 490.7 MB, free: 2.059 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006704/0.6393, allocations: 0.5106 MB / 491.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.6394, allocations: 8.031 kB / 491.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.6395, allocations: 56.55 kB / 491.3 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.6396, allocations: 25.03 kB / 491.3 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.64, allocations: 265.7 kB / 491.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.64, allocations: 14.42 kB / 491.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.6401, allocations: 18.8 kB / 491.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.6403, allocations: 161 kB / 491.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.6404, allocations: 3.938 kB / 491.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.6404, allocations: 10.94 kB / 491.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6404, allocations: 4 kB / 491.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.6406, allocations: 109.3 kB / 491.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.6415, allocations: 0.5897 MB / 492.5 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.6417, allocations: 155.6 kB / 492.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.6419, allocations: 83.95 kB / 492.7 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6419, allocations: 4 kB / 492.7 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.6421, allocations: 122.5 kB / 492.9 MB, free: 112 kB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.6421, allocations: 0 / 492.9 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003738/0.6425, allocations: 180.7 kB / 493 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.6426, allocations: 55.36 kB / 493.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.6428, allocations: 236.1 kB / 493.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.6429, allocations: 33.02 kB / 493.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.643, allocations: 148.1 kB / 493.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.6431, allocations: 74.7 kB / 493.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.6431, allocations: 7.375 kB / 493.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6433, allocations: 336.3 kB / 493.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.6434, allocations: 52.06 kB / 494 MB, free: 15.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.6435, allocations: 82.52 kB / 494 MB, free: 15.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.6436, allocations: 57.41 kB / 494.1 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6436, allocations: 4 kB / 494.1 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003223/0.6439, allocations: 208 kB / 494.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.644, allocations: 8 kB / 494.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.644, allocations: 0 / 494.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.644, allocations: 4 kB / 494.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.6442, allocations: 51.91 kB / 494.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6443, allocations: 3.953 kB / 494.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.6444, allocations: 23.92 kB / 494.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.6444, allocations: 12 kB / 494.4 MB, free: 14.69 MB / 362.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 () * 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 9.286e-05/0.6445, allocations: 119 kB / 494.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.6445, allocations: 23.72 kB / 494.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.6449, allocations: 217.2 kB / 494.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.645, allocations: 4 kB / 494.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.645, allocations: 0 / 494.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.645, allocations: 3.953 kB / 494.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.6453, allocations: 305.3 kB / 495.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6453, allocations: 1.562 kB / 495.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.6455, allocations: 35.98 kB / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6455, allocations: 0 / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.6455, allocations: 8 kB / 495.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6455, allocations: 0 / 495.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6455, allocations: 0 / 495.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.6461, allocations: 302.1 kB / 495.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.6462, allocations: 112.8 kB / 495.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.6462, allocations: 4.062 kB / 495.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.6463, allocations: 8 kB / 495.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.6464, allocations: 19.97 kB / 495.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.6464, allocations: 5.562 kB / 495.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.6466, allocations: 193.4 kB / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6466, allocations: 0 / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.6469, allocations: 67.84 kB / 495.8 MB, free: 13.2 MB / 362.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) * 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.001565/0.6485, allocations: 1.105 MB / 496.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.6488, allocations: 147.8 kB / 497 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6488, allocations: 0 / 497 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.6489, allocations: 79.92 kB / 497.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.6492, allocations: 46.97 kB / 497.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.6503, allocations: 0.4942 MB / 497.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6506, allocations: 0.7629 MB / 498.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.6507, allocations: 31.7 kB / 498.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.6509, allocations: 79.41 kB / 498.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6509, allocations: 0 / 498.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.6688, allocations: 4.916 MB / 0.4917 GB, free: 5.816 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.6691, allocations: 182.3 kB / 0.4918 GB, free: 5.594 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_trunk_Modelica_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+0x25f5): 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:32: nozip] Error 1