Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",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.007609/0.007609, allocations: 186 kB / 7.457 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.07924/0.07924, allocations: 8.7 MB / 16.57 MB, free: 452 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.302/2.302, allocations: 221.4 MB / 240.5 MB, free: 8.211 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.001435/0.001435, allocations: 95.69 kB / 293.5 MB, free: 5.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2508/0.2523, allocations: 58.67 MB / 352.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.7294, allocations: 52.54 MB / 404.7 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6964/1.426, allocations: 138.9 MB / 0.5308 GB, free: 44.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.426, allocations: 77.94 kB / 0.5309 GB, free: 44.41 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 1.29/2.717, allocations: 223.6 MB / 0.7493 GB, free: 72.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.598e-05/2.717, allocations: 11.25 kB / 0.7493 GB, free: 72.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0334/2.75, allocations: 2.868 MB / 0.7521 GB, free: 71.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02969/2.78, allocations: 5.554 MB / 0.7575 GB, free: 68.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009422/2.781, allocations: 206.7 kB / 0.7577 GB, free: 68.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006532/2.787, allocations: 371.4 kB / 0.7581 GB, free: 68.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03716/2.825, allocations: 8.12 MB / 0.766 GB, free: 65.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05279/2.878, allocations: 9.287 MB / 0.7751 GB, free: 60.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008327/2.879, allocations: 15.7 kB / 0.7751 GB, free: 60.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006134/2.885, allocations: 4 kB / 0.7751 GB, free: 60.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/2.886, allocations: 0.5077 MB / 0.7756 GB, free: 59.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/3.008, allocations: 35.56 MB / 0.8103 GB, free: 28.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006022/3.014, allocations: 2.148 MB / 0.8124 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006754/3.021, allocations: 2.275 MB / 0.8147 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006888/3.022, allocations: 231.3 kB / 0.8149 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.712e-05/3.022, allocations: 68.86 kB / 0.8149 GB, free: 23.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=294): time 8.085e-06/3.022, allocations: 0 / 0.8149 GB, free: 23.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=300): time 0.03985/3.062, allocations: 9.675 MB / 0.8244 GB, free: 14.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/3.062, allocations: 81.77 kB / 0.8245 GB, free: 13.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007637/3.07, allocations: 2.368 MB / 0.8268 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001307/3.071, allocations: 25.7 kB / 0.8268 GB, free: 11.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/3.073, allocations: 2.602 MB / 0.8293 GB, free: 8.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0022/3.076, allocations: 0.9856 MB / 0.8303 GB, free: 7.891 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005099/3.076, allocations: 0 / 0.8303 GB, free: 7.891 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004602/3.077, allocations: 492.1 kB / 0.8308 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005313/3.082, allocations: 2.207 MB / 0.8329 GB, free: 5.188 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008592/3.091, allocations: 3.864 MB / 0.8367 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4552/3.546, allocations: 3.167 MB / 0.8398 GB, free: 96.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/3.546, allocations: 20.53 kB / 0.8398 GB, free: 96.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.02069/3.567, allocations: 6.783 MB / 0.8464 GB, free: 96.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/3.567, allocations: 6.219 kB / 0.8465 GB, free: 96.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/3.567, allocations: 57.92 kB / 0.8465 GB, free: 96.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/3.57, allocations: 0.6713 MB / 0.8472 GB, free: 96.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009292/3.58, allocations: 1.068 MB / 0.8482 GB, free: 96.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/3.594, allocations: 5.153 MB / 0.8532 GB, free: 95.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007787/3.602, allocations: 211.4 kB / 0.8534 GB, free: 95.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/3.604, allocations: 227.5 kB / 0.8537 GB, free: 95.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 558 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001943/3.606, allocations: 258.2 kB / 0.8539 GB, free: 95.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/3.607, allocations: 295.7 kB / 0.8542 GB, free: 95.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/3.619, allocations: 5.147 MB / 0.8592 GB, free: 95.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/3.619, allocations: 37.02 kB / 0.8592 GB, free: 95.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/3.619, allocations: 9.688 kB / 0.8593 GB, free: 95.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-05/3.619, allocations: 15.23 kB / 0.8593 GB, free: 95.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03395/3.653, allocations: 10.73 MB / 0.8698 GB, free: 94.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/3.653, allocations: 3.188 kB / 0.8698 GB, free: 94.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005048/3.658, allocations: 0.5435 MB / 0.8703 GB, free: 94.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/3.661, allocations: 0.5555 MB / 0.8708 GB, free: 94.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001161/3.662, allocations: 25.44 kB / 0.8709 GB, free: 94.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/3.673, allocations: 4.532 MB / 0.8753 GB, free: 92.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-05/3.673, allocations: 8.5 kB / 0.8753 GB, free: 92.8 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01806/3.691, allocations: 7.838 MB / 0.8829 GB, free: 91.73 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03394/3.725, allocations: 16.54 MB / 0.8991 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003928/3.729, allocations: 0.7826 MB / 0.8999 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/3.731, allocations: 7.781 kB / 0.8999 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/3.735, allocations: 121.2 kB / 0.9 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006813/3.736, allocations: 163.7 kB / 0.9001 GB, free: 89.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003886/3.736, allocations: 93.75 kB / 0.9002 GB, free: 89.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005653/3.742, allocations: 1.706 MB / 0.9019 GB, free: 88.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01482/3.757, allocations: 1.097 MB / 0.903 GB, free: 88.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 289 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002231/3.759, allocations: 383.6 kB / 0.9033 GB, free: 88.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0193/3.778, allocations: 5.263 MB / 0.9085 GB, free: 86.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.533e-05/3.778, allocations: 3.969 kB / 0.9085 GB, free: 86.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008022/3.786, allocations: 2.353 MB / 0.9108 GB, free: 86.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006473/3.793, allocations: 427.1 kB / 0.9112 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06118/3.854, allocations: 9.966 MB / 0.9209 GB, free: 82.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02246/3.877, allocations: 4.549 MB / 0.9253 GB, free: 80.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/3.877, allocations: 0 / 0.9253 GB, free: 80.45 MB / 458.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1/HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_FMU.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_functions.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_functions.c:1: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_records.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_records.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_01exo.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_01exo.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_02nls.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_02nls.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_03lsy.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_04set.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_04set.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_05evt.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_05evt.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1 -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_SynchronousMachines_SMEE_Slip1_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_SynchronousMachines_SMEE_Slip1_06inz.c:40:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c:41:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c:42:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c:43:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c:44:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.c:45:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ 2 warnings and 6 errors generated. make: *** [: HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1/HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.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_SynchronousMachines_SMEE_Slip1.def HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.a HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.so HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_records.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_07dly.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_08bnd.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_09alg.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_10asr.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_11mix.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_12jac.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_13opt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_14lnz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_15syn.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_16dae.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_17inl.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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