Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.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.SMPM_CurrentSource,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMPM_CurrentSource,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource",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.008128/0.008129, allocations: 184.5 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.06582/0.06582, 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.339/2.339, allocations: 221.4 MB / 240.5 MB, free: 8.203 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.001786/0.001786, allocations: 99.31 kB / 293.5 MB, free: 5.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.2463, allocations: 58.67 MB / 352.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.7174, allocations: 52.53 MB / 404.7 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7868/1.504, allocations: 135.2 MB / 0.5272 GB, free: 45.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/1.505, allocations: 76.47 kB / 0.5273 GB, free: 45.27 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: 2602 * Number of variables: 2602 Notification: Performance of Generate backend data structure: time 2.434/3.938, allocations: 326.4 MB / 0.846 GB, free: 64.78 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.976e-05/3.939, allocations: 10.56 kB / 0.846 GB, free: 64.78 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04082/3.979, allocations: 3.737 MB / 0.8497 GB, free: 64.29 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0419/4.021, allocations: 7.36 MB / 0.8569 GB, free: 63.79 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001796/4.023, allocations: 297.2 kB / 0.8572 GB, free: 63.79 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009419/4.033, allocations: 0.5298 MB / 0.8577 GB, free: 63.78 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04578/4.079, allocations: 11.54 MB / 0.8689 GB, free: 63.73 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06304/4.142, allocations: 13.5 MB / 0.8821 GB, free: 62.63 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007085/4.143, allocations: 17.78 kB / 0.8821 GB, free: 62.62 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005614/4.148, allocations: 13 kB / 0.8822 GB, free: 62.62 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/4.149, allocations: 0.7148 MB / 0.8829 GB, free: 62.6 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1367/4.286, allocations: 48.28 MB / 0.93 GB, free: 52.11 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/4.294, allocations: 2.697 MB / 0.9326 GB, free: 51.05 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007978/4.302, allocations: 3.106 MB / 0.9357 GB, free: 49.98 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/4.303, allocations: 256.5 kB / 0.9359 GB, free: 49.78 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/4.303, allocations: 72.88 kB / 0.936 GB, free: 49.71 MB / 458.8 MB Notification: Performance of pre-optimization done (n=370): time 7.163e-06/4.303, allocations: 3.391 kB / 0.936 GB, free: 49.71 MB / 458.8 MB Notification: Performance of matching and sorting (n=378): time 0.05019/4.353, allocations: 12.41 MB / 0.9481 GB, free: 44.45 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/4.354, allocations: 90.09 kB / 0.9482 GB, free: 44.38 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008948/4.363, allocations: 3.001 MB / 0.9511 GB, free: 43.2 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001157/4.364, allocations: 25.7 kB / 0.9511 GB, free: 43.17 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004812/4.369, allocations: 3.712 MB / 0.9548 GB, free: 40.43 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002887/4.372, allocations: 1.251 MB / 0.956 GB, free: 39.45 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/4.373, allocations: 0 / 0.956 GB, free: 39.45 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001119/4.374, allocations: 0.5454 MB / 0.9565 GB, free: 39.04 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008659/4.383, allocations: 2.763 MB / 0.9592 GB, free: 37.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/4.394, allocations: 5.208 MB / 0.9643 GB, free: 33.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/4.413, allocations: 4.158 MB / 0.9684 GB, free: 32.18 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004352/4.413, allocations: 25.03 kB / 0.9684 GB, free: 32.18 MB / 458.8 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.04417/4.458, allocations: 8.778 MB / 0.977 GB, free: 29.45 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/4.458, allocations: 3.406 kB / 0.977 GB, free: 29.45 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006209/4.458, allocations: 84.22 kB / 0.9771 GB, free: 29.45 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005303/4.464, allocations: 1.017 MB / 0.978 GB, free: 29.23 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/4.475, allocations: 1.33 MB / 0.9793 GB, free: 29.19 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/4.497, allocations: 8.855 MB / 0.988 GB, free: 24.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/4.509, allocations: 246.7 kB / 0.9882 GB, free: 23.98 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003998/4.513, allocations: 312 kB / 0.9885 GB, free: 23.93 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 701 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,65.6%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005747/4.519, allocations: 323.1 kB / 0.9888 GB, free: 23.71 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002818/4.522, allocations: 386 kB / 0.9892 GB, free: 23.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02594/4.548, allocations: 6.404 MB / 0.9955 GB, free: 18.27 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.559e-05/4.548, allocations: 36 kB / 0.9955 GB, free: 18.24 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.323e-05/4.548, allocations: 16 kB / 0.9955 GB, free: 18.22 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.992e-05/4.548, allocations: 16.88 kB / 0.9955 GB, free: 18.22 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/4.596, allocations: 14.3 MB / 1.009 GB, free: 6.289 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/4.596, allocations: 0 / 1.009 GB, free: 6.289 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005037/4.601, allocations: 0.654 MB / 1.01 GB, free: 5.734 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/4.605, allocations: 0.7896 MB / 1.011 GB, free: 5.113 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009142/4.606, allocations: 22.94 kB / 1.011 GB, free: 5.098 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5813/5.187, allocations: 7.506 MB / 1.018 GB, free: 54.79 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/5.187, allocations: 5.75 kB / 1.018 GB, free: 54.79 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0371/5.224, allocations: 9.47 MB / 1.027 GB, free: 54.03 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04241/5.267, allocations: 13.3 MB / 1.04 GB, free: 52.88 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006113/5.273, allocations: 0.9096 MB / 1.041 GB, free: 52.78 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003799/5.277, allocations: 9.406 kB / 1.041 GB, free: 52.78 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007629/5.284, allocations: 144.2 kB / 1.042 GB, free: 52.78 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001886/5.286, allocations: 198.3 kB / 1.042 GB, free: 52.78 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001371/5.288, allocations: 103.5 kB / 1.042 GB, free: 52.78 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.0101/5.298, allocations: 2.195 MB / 1.044 GB, free: 52.63 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01884/5.317, allocations: 1.456 MB / 1.045 GB, free: 52.63 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (inertiaLoad.w,quadraticTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (351): * Single equations (assignments): 348 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,59.4%) 46} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002648/5.32, allocations: 441.8 kB / 1.046 GB, free: 52.54 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02552/5.345, allocations: 6.756 MB / 1.052 GB, free: 52.26 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/5.345, allocations: 0 / 1.052 GB, free: 52.26 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01235/5.358, allocations: 3.026 MB / 1.055 GB, free: 52.03 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/5.368, allocations: 0.6945 MB / 1.056 GB, free: 52.02 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09229/5.46, allocations: 13.79 MB / 1.069 GB, free: 49.57 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03139/5.492, allocations: 6.454 MB / 1.076 GB, free: 48.66 MB / 458.8 MB Notification: Performance of SimCode: time 2.966e-06/5.492, allocations: 0 / 1.076 GB, free: 48.66 MB / 458.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource/HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_FMU.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_functions.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_functions.c:1: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_records.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_records.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_01exo.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_01exo.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_02nls.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_02nls.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_03lsy.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_04set.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_04set.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_05evt.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_05evt.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:2: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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_SMPM_CurrentSource_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:57:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp11 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:115:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp15 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:116:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp16 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:117:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp17 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:118:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp18 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:119:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp19 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:120:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp20 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.c:140:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp21 = $Pu$lB1$rB$Pre; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource/HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.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_SMPM_CurrentSource.def HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.a HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.so HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_FMU.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_functions.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_records.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_01exo.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_02nls.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_03lsy.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_04set.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_05evt.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_06inz.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_07dly.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_08bnd.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_09alg.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_10asr.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_11mix.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_12jac.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_13opt.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_14lnz.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_15syn.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_16dae.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_17inl.o HanserModelica_HanserModelica_SynchronousMachines_SMPM_CurrentSource_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