Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001045/0.001045, allocations: 202.6 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008535/0.0008535, allocations: 95.05 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002088, allocations: 4 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2152, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3349, allocations: 101.6 MB / 0.4992 GB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.3352, allocations: 93.31 kB / 0.4992 GB, free: 4.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9944/1.33, allocations: 328.4 MB / 0.8199 GB, free: 23.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.33, allocations: 4 kB / 0.8199 GB, free: 23.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003694/1.33, allocations: 191.8 kB / 0.8201 GB, free: 23.61 MB / 458.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.02562/1.356, allocations: 9.093 MB / 0.829 GB, free: 14.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.356, allocations: 11.97 kB / 0.829 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00536/1.361, allocations: 1.512 MB / 0.8305 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/1.383, allocations: 4.223 MB / 0.8346 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/1.398, allocations: 6.034 MB / 0.8405 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/1.399, allocations: 0.6342 MB / 0.8411 GB, free: 1.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/1.401, allocations: 0.832 MB / 0.8419 GB, free: 1.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2808/1.682, allocations: 14.53 MB / 0.8561 GB, free: 49.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/1.682, allocations: 13.3 kB / 0.8561 GB, free: 49.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/1.684, allocations: 367.7 kB / 0.8565 GB, free: 49.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006604/1.684, allocations: 0.6884 MB / 0.8571 GB, free: 49.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/1.707, allocations: 12.49 MB / 0.8693 GB, free: 49.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07363/1.78, allocations: 44.81 MB / 0.9131 GB, free: 38.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009491/1.79, allocations: 11.67 MB / 0.9245 GB, free: 29.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/1.79, allocations: 260 kB / 0.9247 GB, free: 29.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.79, allocations: 83.38 kB / 0.9248 GB, free: 29.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 5.67e-06/1.79, allocations: 0 / 0.9248 GB, free: 29.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.02014/1.81, allocations: 10.28 MB / 0.9349 GB, free: 25.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/1.81, allocations: 126.3 kB / 0.935 GB, free: 25.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/1.814, allocations: 2.8 MB / 0.9377 GB, free: 24.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003623/1.815, allocations: 91.92 kB / 0.9378 GB, free: 24.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.816, allocations: 3.682 MB / 0.9414 GB, free: 21.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.817, allocations: 1.441 MB / 0.9428 GB, free: 20.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/1.818, allocations: 116.7 kB / 0.9429 GB, free: 20.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/1.818, allocations: 0.542 MB / 0.9434 GB, free: 19.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.821, allocations: 2.881 MB / 0.9463 GB, free: 18.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004581/1.826, allocations: 4.922 MB / 0.9511 GB, free: 15.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/1.831, allocations: 3.999 MB / 0.955 GB, free: 13.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.978e-05/1.831, allocations: 17.41 kB / 0.955 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01238/1.843, allocations: 9.155 MB / 0.9639 GB, free: 10.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/1.843, allocations: 31.5 kB / 0.964 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/1.843, allocations: 66.34 kB / 0.964 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/1.846, allocations: 1.096 MB / 0.9651 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/1.851, allocations: 1.302 MB / 0.9664 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/1.862, allocations: 10.09 MB / 0.9762 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/1.868, allocations: 0.7361 MB / 0.9769 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.869, allocations: 279 kB / 0.9772 GB, free: 1.449 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.01255/1.881, allocations: 3.799 MB / 0.9809 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.882, allocations: 347.6 kB / 0.9812 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.895, allocations: 7.032 MB / 0.9881 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009021/1.904, allocations: 5.822 MB / 0.9938 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.52e-05/1.904, allocations: 12 kB / 0.9938 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/1.904, allocations: 21.09 kB / 0.9938 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/1.934, allocations: 15.25 MB / 1.009 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.934, allocations: 11.75 kB / 1.009 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/1.938, allocations: 0.7568 MB / 1.009 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/1.941, allocations: 1.016 MB / 1.01 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004881/1.941, allocations: 98.61 kB / 1.011 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2734/2.214, allocations: 9.995 MB / 1.02 GB, free: 73.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/2.215, allocations: 11.69 kB / 1.02 GB, free: 73.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/2.23, allocations: 11.11 MB / 1.031 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/2.232, allocations: 0.9904 MB / 1.032 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/2.233, allocations: 84.94 kB / 1.032 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/2.235, allocations: 265.5 kB / 1.032 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/2.235, allocations: 308.7 kB / 1.033 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/2.236, allocations: 131.7 kB / 1.033 GB, free: 72.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002852/2.238, allocations: 2.095 MB / 1.035 GB, free: 72.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.238, allocations: 0 / 1.035 GB, free: 72.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005941/2.244, allocations: 2.248 MB / 1.037 GB, free: 71.8 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.01374/2.258, allocations: 13.6 MB / 1.05 GB, free: 67.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00992/2.268, allocations: 7.5 MB / 1.058 GB, free: 67.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.268, allocations: 3.875 kB / 1.058 GB, free: 67.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005206/2.273, allocations: 3.649 MB / 1.061 GB, free: 67.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/2.277, allocations: 0.6857 MB / 1.062 GB, free: 67.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07448/2.351, allocations: 88.18 MB / 1.148 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006596/2.358, allocations: 6.075 MB / 1.154 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00558/2.363, allocations: 2.2 MB / 1.156 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/2.367, allocations: 2.901 MB / 1.159 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/2.367, allocations: 2.969 kB / 1.159 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4189/2.786, allocations: 110 MB / 1.266 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/2.786, allocations: 244.4 kB / 1.267 GB, free: 86.6 MB / 0.4948 GB 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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.c:7: In file included from ./Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_model.h:24: ./Modelica_trunk_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_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.o] Error 1