Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006602/0.006602, allocations: 182.9 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08705/0.08705, allocations: 8.708 MB / 16.57 MB, free: 0.4922 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.416/2.416, allocations: 221.4 MB / 240.5 MB, free: 8.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 103.7 kB / 293.5 MB, free: 5.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2228/0.2243, allocations: 58.67 MB / 352.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.739, allocations: 52.54 MB / 404.7 MB, free: 26.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7496/1.489, allocations: 130.3 MB / 0.5225 GB, free: 47.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.489, allocations: 87.36 kB / 0.5226 GB, free: 47.52 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 2.287/3.776, allocations: 383.9 MB / 0.8975 GB, free: 28.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/3.776, allocations: 9.062 kB / 0.8975 GB, free: 28.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06961/3.846, allocations: 5.27 MB / 0.9026 GB, free: 28.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05357/3.9, allocations: 8.949 MB / 0.9114 GB, free: 26.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001937/3.902, allocations: 341.4 kB / 0.9117 GB, free: 26.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01242/3.914, allocations: 0.5955 MB / 0.9123 GB, free: 26.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07532/3.99, allocations: 14.57 MB / 0.9265 GB, free: 26.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1147/4.104, allocations: 16.42 MB / 0.9425 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001445/4.106, allocations: 14.94 kB / 0.9425 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009633/4.116, allocations: 8.844 kB / 0.9426 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/4.118, allocations: 0.9031 MB / 0.9434 GB, free: 25.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2566/4.375, allocations: 58.61 MB / 1.001 GB, free: 2.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02279/4.398, allocations: 4.32 MB / 1.005 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01652/4.414, allocations: 4.192 MB / 1.009 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/4.416, allocations: 210.8 kB / 1.009 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/4.416, allocations: 89.91 kB / 1.009 GB, free: 11.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=523): time 6.973e-05/4.416, allocations: 3.938 kB / 1.009 GB, free: 11.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=529): time 1.12/5.536, allocations: 19.09 MB / 1.028 GB, free: 82.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/5.536, allocations: 134.2 kB / 1.028 GB, free: 82.45 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/5.549, allocations: 3.261 MB / 1.031 GB, free: 82.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002323/5.552, allocations: 29.39 kB / 1.031 GB, free: 82.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006599/5.558, allocations: 4.079 MB / 1.035 GB, free: 80.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005212/5.564, allocations: 1.722 MB / 1.037 GB, free: 78.98 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/5.566, allocations: 3.938 kB / 1.037 GB, free: 78.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001133/5.567, allocations: 0.5976 MB / 1.038 GB, free: 78.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/5.579, allocations: 3.837 MB / 1.041 GB, free: 78.64 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01927/5.599, allocations: 6.237 MB / 1.047 GB, free: 75.76 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02224/5.621, allocations: 5.438 MB / 1.053 GB, free: 75.67 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003803/5.622, allocations: 22.22 kB / 1.053 GB, free: 75.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.05454/5.676, allocations: 11.5 MB / 1.064 GB, free: 75.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/5.676, allocations: 3.938 kB / 1.064 GB, free: 75.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005751/5.677, allocations: 77.44 kB / 1.064 GB, free: 75.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006948/5.684, allocations: 1.434 MB / 1.065 GB, free: 75.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/5.699, allocations: 1.61 MB / 1.067 GB, free: 75.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/5.727, allocations: 9.706 MB / 1.076 GB, free: 73.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/5.739, allocations: 299.5 kB / 1.077 GB, free: 73.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004375/5.744, allocations: 343.8 kB / 1.077 GB, free: 73.65 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 834 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 62} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006855/5.751, allocations: 329.5 kB / 1.077 GB, free: 73.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003818/5.755, allocations: 447 kB / 1.078 GB, free: 73.26 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04771/5.802, allocations: 9.561 MB / 1.087 GB, free: 72.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0357/5.838, allocations: 7.822 MB / 1.095 GB, free: 72.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001097/5.838, allocations: 11.5 kB / 1.095 GB, free: 72.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003121/5.839, allocations: 30.05 kB / 1.095 GB, free: 72.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08812/5.927, allocations: 19.5 MB / 1.114 GB, free: 70.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.054e-05/5.927, allocations: 3.906 kB / 1.114 GB, free: 70.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009505/5.936, allocations: 0.957 MB / 1.115 GB, free: 70.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006375/5.943, allocations: 1.201 MB / 1.116 GB, free: 70.86 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002536/5.945, allocations: 38.77 kB / 1.116 GB, free: 70.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/5.967, allocations: 8.186 MB / 1.124 GB, free: 68.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/5.967, allocations: 5.562 kB / 1.124 GB, free: 68.66 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05424/6.022, allocations: 14.16 MB / 1.138 GB, free: 62.77 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1003/6.122, allocations: 30.59 MB / 1.168 GB, free: 47.24 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007657/6.13, allocations: 1.235 MB / 1.169 GB, free: 46.12 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00401/6.134, allocations: 3.703 kB / 1.169 GB, free: 46.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009155/6.143, allocations: 224.8 kB / 1.169 GB, free: 45.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003221/6.146, allocations: 294.8 kB / 1.169 GB, free: 45.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002417/6.149, allocations: 144.3 kB / 1.17 GB, free: 45.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01252/6.161, allocations: 2.389 MB / 1.172 GB, free: 43.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02437/6.186, allocations: 1.776 MB / 1.174 GB, free: 41.85 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (501): * Single equations (assignments): 496 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,39.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004203/6.19, allocations: 478.5 kB / 1.174 GB, free: 41.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03341/6.224, allocations: 9.262 MB / 1.183 GB, free: 33.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/6.224, allocations: 0 / 1.183 GB, free: 33.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01827/6.242, allocations: 4.358 MB / 1.187 GB, free: 29.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01203/6.254, allocations: 0.7543 MB / 1.188 GB, free: 28.92 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09245/6.347, allocations: 17.33 MB / 1.205 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04319/6.39, allocations: 7.62 MB / 1.212 GB, free: 7.602 MB / 490.8 MB Notification: Performance of SimCode: time 3.306e-06/6.39, allocations: 0 / 1.212 GB, free: 7.602 MB / 490.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1/HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_FMU.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_FMU.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_functions.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_functions.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_functions.c:1: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_records.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_records.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_01exo.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_01exo.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_01exo.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_02nls.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_02nls.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_02nls.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_03lsy.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_04set.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_04set.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_04set.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_05evt.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_05evt.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_05evt.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:65:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:66:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:67:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:68:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:69:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.c:70:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp11 = $Pu$lB3$rB$Pim; ^ 2 warnings and 12 errors generated. make: *** [: HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1/HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.def HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.a HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.so HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_FMU.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_functions.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_records.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_01exo.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_02nls.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_04set.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_05evt.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_06inz.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_07dly.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_08bnd.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_09alg.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_10asr.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_11mix.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_12jac.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_13opt.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_14lnz.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_15syn.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_16dae.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_17inl.o HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o