Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",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 trunk/package.mo): time 0.001034/0.001034, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008562/0.0008562, allocations: 94.2 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09285/0.09373, allocations: 56.93 MB / 343.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.1775, allocations: 51.47 MB / 394.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.461, allocations: 167.8 MB / 0.5494 GB, free: 6.297 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4613, allocations: 97.75 kB / 0.5495 GB, free: 6.246 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 1.272/1.733, allocations: 413.9 MB / 0.9537 GB, free: 24.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.733, allocations: 10.33 kB / 0.9537 GB, free: 24.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/1.755, allocations: 3.638 MB / 0.9572 GB, free: 24.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01952/1.775, allocations: 8.931 MB / 0.966 GB, free: 23.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/1.775, allocations: 354.7 kB / 0.9663 GB, free: 23.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.777, allocations: 0.6294 MB / 0.9669 GB, free: 23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.021/1.798, allocations: 12.4 MB / 0.979 GB, free: 22.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/1.823, allocations: 14.72 MB / 0.9934 GB, free: 21.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.823, allocations: 16.03 kB / 0.9934 GB, free: 21.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/1.824, allocations: 6.344 kB / 0.9934 GB, free: 21.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004779/1.825, allocations: 0.7309 MB / 0.9941 GB, free: 21.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07643/1.901, allocations: 56.58 MB / 1.049 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/1.905, allocations: 3.018 MB / 1.052 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004611/1.91, allocations: 3.354 MB / 1.056 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/1.927, allocations: 11.49 MB / 1.067 GB, free: 6.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/1.927, allocations: 78.23 kB / 1.067 GB, free: 6.648 MB / 490.7 MB Notification: Performance of pre-optimization done (n=387): time 5.721e-06/1.927, allocations: 0.75 kB / 1.067 GB, free: 6.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=420): time 0.03164/1.959, allocations: 16.31 MB / 1.083 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/1.959, allocations: 124.6 kB / 1.083 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/1.965, allocations: 3.976 MB / 1.087 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004152/1.966, allocations: 25.7 kB / 1.087 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.968, allocations: 4.451 MB / 1.091 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.969, allocations: 1.395 MB / 1.093 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/1.97, allocations: 0 / 1.093 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00037/1.97, allocations: 0.5833 MB / 1.093 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0045/1.975, allocations: 3.071 MB / 1.096 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/1.986, allocations: 6.306 MB / 1.102 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00721/1.994, allocations: 4.474 MB / 1.107 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/1.994, allocations: 28 kB / 1.107 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of matching and sorting (n=885) (initialization): time 0.01718/2.011, allocations: 9.768 MB / 1.116 GB, free: 248 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/2.011, allocations: 8 kB / 1.116 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/2.011, allocations: 91.91 kB / 1.116 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2897/2.301, allocations: 1.064 MB / 1.117 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006274/2.307, allocations: 1.599 MB / 1.119 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009208/2.316, allocations: 8.835 MB / 1.128 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006206/2.322, allocations: 347.5 kB / 1.128 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006469/2.323, allocations: 353.9 kB / 1.128 GB, free: 104.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (829): * Single equations (assignments): 819 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 5,(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008534/2.324, allocations: 350.4 kB / 1.129 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/2.325, allocations: 0.4899 MB / 1.129 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/2.337, allocations: 7.29 MB / 1.136 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009339/2.346, allocations: 6.088 MB / 1.142 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/2.346, allocations: 10.19 kB / 1.142 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.483e-05/2.346, allocations: 23.44 kB / 1.142 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03153/2.378, allocations: 22.23 MB / 1.164 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/2.378, allocations: 7.969 kB / 1.164 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003382/2.381, allocations: 0.7308 MB / 1.165 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/2.384, allocations: 1.125 MB / 1.166 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/2.385, allocations: 34.19 kB / 1.166 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/2.398, allocations: 13.66 MB / 1.179 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002638/2.401, allocations: 2.62 MB / 1.182 GB, free: 93.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0147/2.416, allocations: 11.45 MB / 1.193 GB, free: 92.33 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02585/2.442, allocations: 23.24 MB / 1.215 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/2.444, allocations: 1.131 MB / 1.217 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008272/2.445, allocations: 7.656 kB / 1.217 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/2.448, allocations: 196.8 kB / 1.217 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/2.449, allocations: 240.6 kB / 1.217 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/2.449, allocations: 124 kB / 1.217 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003748/2.453, allocations: 2.87 MB / 1.22 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007106/2.46, allocations: 1.853 MB / 1.222 GB, free: 87.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (370): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 1 {5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008732/2.461, allocations: 0.5228 MB / 1.222 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01146/2.472, allocations: 7.726 MB / 1.23 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.472, allocations: 4.656 kB / 1.23 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005246/2.478, allocations: 3.864 MB / 1.234 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/2.482, allocations: 0.8478 MB / 1.234 GB, free: 82.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/2.51, allocations: 16.29 MB / 1.25 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007993/2.518, allocations: 7.247 MB / 1.257 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/2.519, allocations: 0 / 1.257 GB, free: 74.3 MB / 0.5105 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator/Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmutmp/sources' clang -fPIC -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_FMU.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_FMU.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_functions.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_functions.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_functions.c:1: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_records.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_records.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_01exo.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_01exo.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_02nls.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_02nls.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_03lsy.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_03lsy.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_04set.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_04set.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_04set.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_05evt.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_05evt.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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 -falign-functions -Os -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=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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); ^ Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c:40:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c:41:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c:42:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c:43:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.c:44:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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: *** [: Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator/Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.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 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.def Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.a Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.so Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_FMU.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_functions.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_records.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_01exo.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_02nls.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_03lsy.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_04set.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_05evt.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_06inz.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_07dly.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_08bnd.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_09alg.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_10asr.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_11mix.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_12jac.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_13opt.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_14lnz.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_15syn.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_16dae.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_17inl.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_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/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.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/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.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