Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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_VCurve1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1",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.0057/0.005701, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06998/0.06998, allocations: 8.709 MB / 16.57 MB, free: 440 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.185/2.185, allocations: 221.4 MB / 240.5 MB, free: 8.141 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.001744/0.001744, allocations: 96.34 kB / 293.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2268/0.2287, allocations: 58.67 MB / 352.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.7879, allocations: 52.55 MB / 404.7 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8093/1.597, allocations: 139.2 MB / 0.5312 GB, free: 44.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.598, allocations: 78.88 kB / 0.5312 GB, free: 44.03 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 1.576/3.173, allocations: 274.8 MB / 0.7996 GB, free: 41.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/3.173, allocations: 8 kB / 0.7996 GB, free: 41.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04169/3.215, allocations: 3.682 MB / 0.8032 GB, free: 37.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03677/3.252, allocations: 6.763 MB / 0.8098 GB, free: 31.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/3.254, allocations: 248 kB / 0.81 GB, free: 30.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008214/3.262, allocations: 447.9 kB / 0.8105 GB, free: 30.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04456/3.306, allocations: 10.15 MB / 0.8204 GB, free: 20.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06681/3.373, allocations: 11.43 MB / 0.8315 GB, free: 8.586 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001294/3.375, allocations: 23.8 kB / 0.8316 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007049/3.382, allocations: 7.469 kB / 0.8316 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/3.384, allocations: 0.6177 MB / 0.8322 GB, free: 7.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6448/4.028, allocations: 43.65 MB / 0.8748 GB, free: 74.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009735/4.038, allocations: 2.796 MB / 0.8775 GB, free: 74.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/4.049, allocations: 2.983 MB / 0.8804 GB, free: 74.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/4.05, allocations: 259.4 kB / 0.8807 GB, free: 74.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01072/4.061, allocations: 2.843 MB / 0.8835 GB, free: 74.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 1.614e-05/4.061, allocations: 0 / 0.8835 GB, free: 74.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=396): time 0.08595/4.147, allocations: 15.2 MB / 0.8983 GB, free: 70.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/4.147, allocations: 351.8 kB / 0.8986 GB, free: 70.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01701/4.164, allocations: 2.768 MB / 0.9013 GB, free: 70.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002025/4.167, allocations: 25.7 kB / 0.9014 GB, free: 70.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005168/4.172, allocations: 3.038 MB / 0.9043 GB, free: 68.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005156/4.177, allocations: 1.296 MB / 0.9056 GB, free: 67.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/4.18, allocations: 0 / 0.9056 GB, free: 67.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001717/4.181, allocations: 0.5319 MB / 0.9061 GB, free: 67.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01075/4.192, allocations: 2.767 MB / 0.9088 GB, free: 67.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/4.206, allocations: 4.678 MB / 0.9134 GB, free: 64.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/4.223, allocations: 3.953 MB / 0.9172 GB, free: 64.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003246/4.223, allocations: 20.88 kB / 0.9173 GB, free: 64.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.04981/4.273, allocations: 8.477 MB / 0.9255 GB, free: 63.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/4.273, allocations: 4.406 kB / 0.9255 GB, free: 63.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006148/4.274, allocations: 66.53 kB / 0.9256 GB, free: 63.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007646/4.282, allocations: 1.057 MB / 0.9266 GB, free: 63.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01415/4.296, allocations: 1.269 MB / 0.9279 GB, free: 63.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/4.32, allocations: 7.595 MB / 0.9353 GB, free: 59.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/4.333, allocations: 278.7 kB / 0.9356 GB, free: 59.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003666/4.337, allocations: 269.3 kB / 0.9358 GB, free: 59.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 659 * Array equations: 0 * Algorithm blocks: 1 * 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 {(12,44.4%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005682/4.343, allocations: 302 kB / 0.9361 GB, free: 59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003913/4.347, allocations: 359.9 kB / 0.9365 GB, free: 58.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04395/4.391, allocations: 6.799 MB / 0.9431 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001996/4.391, allocations: 40.62 kB / 0.9431 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001153/4.391, allocations: 10.16 kB / 0.9431 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002341/4.391, allocations: 23.27 kB / 0.9432 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07687/4.468, allocations: 13.78 MB / 0.9566 GB, free: 50.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001253/4.468, allocations: 3.625 kB / 0.9566 GB, free: 50.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008371/4.477, allocations: 0.7035 MB / 0.9573 GB, free: 50.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006898/4.484, allocations: 0.93 MB / 0.9582 GB, free: 50.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001976/4.486, allocations: 33.94 kB / 0.9583 GB, free: 50.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/4.509, allocations: 6.88 MB / 0.965 GB, free: 46.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-05/4.509, allocations: 5.312 kB / 0.965 GB, free: 46.54 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03401/4.543, allocations: 10.21 MB / 0.975 GB, free: 39.45 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07323/4.616, allocations: 21.59 MB / 0.996 GB, free: 20.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005544/4.622, allocations: 0.9783 MB / 0.997 GB, free: 19.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003218/4.625, allocations: 11.91 kB / 0.997 GB, free: 19.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006729/4.632, allocations: 162.7 kB / 0.9972 GB, free: 19.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001904/4.634, allocations: 218.5 kB / 0.9974 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001222/4.635, allocations: 114.9 kB / 0.9975 GB, free: 18.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007883/4.643, allocations: 2.003 MB / 0.9994 GB, free: 17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01798/4.661, allocations: 1.355 MB / 1.001 GB, free: 15.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 3 (smee.inertiaRotor.w,smee.excitation.electroMagneticConverter.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (366): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 1 * 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 {(12,42.4%) 48} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002998/4.664, allocations: 411.7 kB / 1.001 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02397/4.688, allocations: 6.733 MB / 1.008 GB, free: 9.359 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.082e-05/4.688, allocations: 4.812 kB / 1.008 GB, free: 9.355 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01191/4.7, allocations: 3.186 MB / 1.011 GB, free: 6.457 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009613/4.71, allocations: 0.535 MB / 1.011 GB, free: 6.035 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5846/5.295, allocations: 12.45 MB / 1.024 GB, free: 77.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02416/5.319, allocations: 5.476 MB / 1.029 GB, free: 76.98 MB / 458.7 MB Notification: Performance of SimCode: time 3.156e-06/5.319, allocations: 0 / 1.029 GB, free: 76.98 MB / 458.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1/HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.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_VCurve1 -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_VCurve1_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_FMU.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_functions.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_functions.c:1: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_records.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_records.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_01exo.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_01exo.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_02nls.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_02nls.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_03lsy.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_04set.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_04set.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_05evt.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_05evt.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1 -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_VCurve1_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1_06inz.c:40:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.c:41:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.c:42:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.c:43:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.c:44:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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_VCurve1_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1/HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.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_VCurve1.def HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.a HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.so HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_records.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_07dly.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_08bnd.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_09alg.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_10asr.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_11mix.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_12jac.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_13opt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_14lnz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_15syn.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_16dae.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_17inl.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_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