Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009787/0.0009789, allocations: 94.53 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.0002691, allocations: 4 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.3896, allocations: 100.8 MB / 0.4906 GB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.39, allocations: 91.94 kB / 0.4907 GB, free: 11.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069/1.459, allocations: 311.2 MB / 0.7946 GB, free: 24.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.049e-06/1.459, allocations: 0 / 0.7946 GB, free: 24.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001103/1.46, allocations: 195.8 kB / 0.7948 GB, free: 24.65 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03709/1.497, allocations: 9.058 MB / 0.8036 GB, free: 15.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.497, allocations: 11.97 kB / 0.8036 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008544/1.506, allocations: 1.512 MB / 0.8051 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0244/1.53, allocations: 4.219 MB / 0.8092 GB, free: 9.738 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/1.547, allocations: 6.034 MB / 0.8151 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008557/1.548, allocations: 0.6342 MB / 0.8157 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003809/1.552, allocations: 0.828 MB / 0.8165 GB, free: 2.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3484/1.9, allocations: 14.54 MB / 0.8307 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003315/1.901, allocations: 12.47 kB / 0.8308 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002235/1.903, allocations: 369.1 kB / 0.8311 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007487/1.904, allocations: 0.6828 MB / 0.8318 GB, free: 44.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/1.931, allocations: 12.49 MB / 0.844 GB, free: 44.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08012/2.011, allocations: 44.33 MB / 0.8873 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/2.023, allocations: 11.67 MB / 0.8987 GB, free: 24.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/2.023, allocations: 176.9 kB / 0.8988 GB, free: 24.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/2.023, allocations: 82.88 kB / 0.8989 GB, free: 24.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=421): time 6.692e-06/2.023, allocations: 3.438 kB / 0.8989 GB, free: 24.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=421): time 0.01941/2.043, allocations: 10.29 MB / 0.9089 GB, free: 20.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/2.043, allocations: 124.9 kB / 0.9091 GB, free: 20.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/2.048, allocations: 2.798 MB / 0.9118 GB, free: 19.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008142/2.049, allocations: 93.52 kB / 0.9119 GB, free: 19.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/2.051, allocations: 3.683 MB / 0.9155 GB, free: 16.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/2.053, allocations: 1.433 MB / 0.9169 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/2.053, allocations: 113.2 kB / 0.917 GB, free: 15.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003069/2.053, allocations: 0.5507 MB / 0.9175 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/2.057, allocations: 2.879 MB / 0.9203 GB, free: 14.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005197/2.063, allocations: 4.92 MB / 0.9251 GB, free: 10.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/2.068, allocations: 4.005 MB / 0.9291 GB, free: 9.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.991e-05/2.068, allocations: 19.34 kB / 0.9291 GB, free: 9.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01564/2.084, allocations: 9.149 MB / 0.938 GB, free: 5.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/2.084, allocations: 31.72 kB / 0.938 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/2.084, allocations: 66.12 kB / 0.9381 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/2.087, allocations: 1.104 MB / 0.9392 GB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005018/2.092, allocations: 1.303 MB / 0.9405 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/2.107, allocations: 10.13 MB / 0.9504 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/2.113, allocations: 0.7363 MB / 0.9511 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/2.114, allocations: 275.2 kB / 0.9513 GB, free: 10.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009402/2.124, allocations: 3.429 MB / 0.9547 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001746/2.126, allocations: 351.5 kB / 0.955 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/2.141, allocations: 7.031 MB / 0.9619 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01101/2.152, allocations: 5.875 MB / 0.9676 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.977e-05/2.152, allocations: 12 kB / 0.9676 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/2.153, allocations: 22.64 kB / 0.9677 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03612/2.189, allocations: 15.1 MB / 0.9824 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.782e-05/2.189, allocations: 8 kB / 0.9824 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/2.192, allocations: 0.7624 MB / 0.9831 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004115/2.196, allocations: 1.097 MB / 0.9842 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/2.198, allocations: 99.89 kB / 0.9843 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/2.212, allocations: 9.963 MB / 0.994 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/2.212, allocations: 8 kB / 0.9941 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3419/2.554, allocations: 11.14 MB / 1.005 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003378/2.557, allocations: 0.9911 MB / 1.006 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008925/2.558, allocations: 81.62 kB / 1.006 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/2.561, allocations: 268.1 kB / 1.006 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006584/2.561, allocations: 308.3 kB / 1.007 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/2.561, allocations: 134.2 kB / 1.007 GB, free: 83.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00339/2.565, allocations: 2.083 MB / 1.009 GB, free: 83.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.565, allocations: 0 / 1.009 GB, free: 83.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007819/2.573, allocations: 2.257 MB / 1.011 GB, free: 83.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01647/2.589, allocations: 13.61 MB / 1.024 GB, free: 79.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01214/2.601, allocations: 7.5 MB / 1.032 GB, free: 79.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/2.601, allocations: 1.172 kB / 1.032 GB, free: 79.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006607/2.608, allocations: 3.649 MB / 1.035 GB, free: 78.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/2.613, allocations: 0.6801 MB / 1.036 GB, free: 78.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.103/2.716, allocations: 88.19 MB / 1.122 GB, free: 18.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/2.73, allocations: 6.072 MB / 1.128 GB, free: 17.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008369/2.738, allocations: 2.193 MB / 1.13 GB, free: 17.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007016/2.745, allocations: 2.914 MB / 1.133 GB, free: 17.54 MB / 490.7 MB Notification: Performance of SimCode: time 3.627e-06/2.745, allocations: 0 / 1.133 GB, free: 17.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4794/3.225, allocations: 110.1 MB / 1.24 GB, free: 82.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/3.225, allocations: 238.1 kB / 1.241 GB, free: 82.48 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_model.h:24: ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_functions.h:424:1: error: unknown type name '_omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower' _omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_functions.h:433:1: error: unknown type name '_omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower' _omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 2 errors generated. make: *** [: Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.o] Error 1