Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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_VCurve2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2",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.007169/0.007169, allocations: 184.3 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08059/0.08059, allocations: 8.708 MB / 16.58 MB, free: 436 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.474/2.474, allocations: 221.4 MB / 240.5 MB, free: 8.199 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.001427/0.001427, allocations: 96.36 kB / 293.5 MB, free: 7.438 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2299/0.2314, allocations: 58.68 MB / 352.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.828, allocations: 52.53 MB / 404.7 MB, free: 27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7155/1.544, allocations: 139.3 MB / 0.5312 GB, free: 39.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004475/1.544, allocations: 77.31 kB / 0.5313 GB, free: 39.51 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.462/3.007, allocations: 275.3 MB / 0.8001 GB, free: 38.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.001e-05/3.007, allocations: 8 kB / 0.8001 GB, free: 38.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04629/3.053, allocations: 3.678 MB / 0.8037 GB, free: 34.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03522/3.088, allocations: 6.752 MB / 0.8103 GB, free: 27.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/3.09, allocations: 252 kB / 0.8105 GB, free: 27.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007366/3.097, allocations: 451.8 kB / 0.811 GB, free: 27.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04575/3.143, allocations: 10.16 MB / 0.8209 GB, free: 17.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06889/3.212, allocations: 11.44 MB / 0.832 GB, free: 5.402 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008507/3.213, allocations: 19.91 kB / 0.8321 GB, free: 5.383 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006341/3.219, allocations: 7.938 kB / 0.8321 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/3.22, allocations: 0.6197 MB / 0.8327 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.713/3.933, allocations: 43.65 MB / 0.8753 GB, free: 73.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008247/3.942, allocations: 2.799 MB / 0.878 GB, free: 73.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007845/3.95, allocations: 2.979 MB / 0.8809 GB, free: 73.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/3.95, allocations: 256.8 kB / 0.8812 GB, free: 73.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007035/3.957, allocations: 2.842 MB / 0.884 GB, free: 73.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 1.884e-05/3.958, allocations: 0 / 0.884 GB, free: 73.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=396): time 0.06832/4.026, allocations: 15.2 MB / 0.8988 GB, free: 69.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002788/4.026, allocations: 355.2 kB / 0.8992 GB, free: 69.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/4.034, allocations: 2.769 MB / 0.9019 GB, free: 69.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001421/4.036, allocations: 25.7 kB / 0.9019 GB, free: 69.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003251/4.039, allocations: 3.038 MB / 0.9048 GB, free: 67.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002962/4.042, allocations: 1.294 MB / 0.9061 GB, free: 66.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008977/4.043, allocations: 2.969 kB / 0.9061 GB, free: 66.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007517/4.044, allocations: 0.5296 MB / 0.9066 GB, free: 66.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005668/4.049, allocations: 2.768 MB / 0.9093 GB, free: 66.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/4.06, allocations: 4.678 MB / 0.9139 GB, free: 63.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/4.076, allocations: 3.949 MB / 0.9178 GB, free: 63.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002147/4.076, allocations: 15.38 kB / 0.9178 GB, free: 63.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.04476/4.121, allocations: 8.483 MB / 0.9261 GB, free: 61.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/4.121, allocations: 6.125 kB / 0.9261 GB, free: 61.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005659/4.122, allocations: 61.09 kB / 0.9261 GB, free: 61.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007878/4.13, allocations: 1.057 MB / 0.9272 GB, free: 60.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/4.143, allocations: 1.268 MB / 0.9284 GB, free: 60.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/4.164, allocations: 7.597 MB / 0.9358 GB, free: 56.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0085/4.173, allocations: 270.4 kB / 0.9361 GB, free: 56.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/4.175, allocations: 268.9 kB / 0.9363 GB, free: 56.83 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.002536/4.178, allocations: 309.9 kB / 0.9366 GB, free: 56.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/4.179, allocations: 366.7 kB / 0.937 GB, free: 56.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/4.206, allocations: 6.791 MB / 0.9436 GB, free: 54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001509/4.206, allocations: 47.7 kB / 0.9437 GB, free: 53.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.784e-05/4.206, allocations: 10.69 kB / 0.9437 GB, free: 53.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001722/4.206, allocations: 20.42 kB / 0.9437 GB, free: 53.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06188/4.268, allocations: 13.77 MB / 0.9571 GB, free: 48.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/4.268, allocations: 3.938 kB / 0.9571 GB, free: 48.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007794/4.276, allocations: 0.6982 MB / 0.9578 GB, free: 48.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006479/4.283, allocations: 0.9295 MB / 0.9587 GB, free: 47.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001773/4.285, allocations: 26.7 kB / 0.9587 GB, free: 47.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/4.308, allocations: 6.891 MB / 0.9655 GB, free: 44.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-05/4.308, allocations: 8.5 kB / 0.9655 GB, free: 44.16 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03567/4.344, allocations: 10.21 MB / 0.9755 GB, free: 37.02 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05426/4.398, allocations: 21.59 MB / 0.9965 GB, free: 17.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005117/4.403, allocations: 0.9793 MB / 0.9975 GB, free: 16.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002826/4.406, allocations: 12 kB / 0.9975 GB, free: 16.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007773/4.414, allocations: 157.9 kB / 0.9977 GB, free: 16.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002417/4.417, allocations: 218.5 kB / 0.9979 GB, free: 16.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001611/4.418, allocations: 115.8 kB / 0.998 GB, free: 16.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.009963/4.428, allocations: 2.007 MB / 0.9999 GB, free: 14.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02052/4.449, allocations: 1.351 MB / 1.001 GB, free: 13.23 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.003308/4.452, allocations: 419.3 kB / 1.002 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02345/4.476, allocations: 6.734 MB / 1.008 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-05/4.476, allocations: 4 kB / 1.008 GB, free: 6.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01499/4.491, allocations: 3.19 MB / 1.011 GB, free: 4.004 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009182/4.5, allocations: 0.5389 MB / 1.012 GB, free: 3.582 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5066/5.007, allocations: 12.46 MB / 1.024 GB, free: 78.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02157/5.029, allocations: 5.481 MB / 1.029 GB, free: 77.5 MB / 458.7 MB Notification: Performance of SimCode: time 3.447e-06/5.029, allocations: 0 / 1.029 GB, free: 77.5 MB / 458.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2/HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.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_VCurve2 -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_VCurve2_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_FMU.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_functions.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_functions.c:1: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_records.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_records.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_01exo.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_01exo.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_02nls.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_02nls.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_03lsy.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_04set.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_04set.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_05evt.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_05evt.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2 -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_VCurve2_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2_06inz.c:40:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.c:41:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.c:42:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.c:43:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.c:44:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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_VCurve2_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2/HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.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_VCurve2.def HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.a HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.so HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_records.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_07dly.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_08bnd.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_09alg.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_10asr.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_11mix.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_12jac.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_13opt.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_14lnz.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_15syn.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_16dae.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_17inl.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_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