Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008832/0.0008832, allocations: 105.1 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002211/0.0002212, allocations: 8 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.324, allocations: 89.1 MB / 498.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.3243, allocations: 96.69 kB / 498.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2751/0.5995, allocations: 37.67 MB / 0.5238 GB, free: 85.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5995, allocations: 3.938 kB / 0.5238 GB, free: 85.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.5995, allocations: 18.53 kB / 0.5238 GB, free: 85.34 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004655/0.6042, allocations: 1.531 MB / 0.5253 GB, free: 84.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6043, allocations: 11.41 kB / 0.5253 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/0.6046, allocations: 190 kB / 0.5255 GB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.6076, allocations: 469.1 kB / 0.526 GB, free: 83.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.6079, allocations: 298.8 kB / 0.5262 GB, free: 83.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/0.608, allocations: 100.5 kB / 0.5263 GB, free: 83.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/0.6083, allocations: 131.1 kB / 0.5265 GB, free: 83.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.6106, allocations: 1.301 MB / 0.5277 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.6106, allocations: 4 kB / 0.5277 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6107, allocations: 52 kB / 0.5278 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.6108, allocations: 32 kB / 0.5278 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.6131, allocations: 1.224 MB / 0.529 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005864/0.6189, allocations: 4.348 MB / 0.5333 GB, free: 76.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.6209, allocations: 2.278 MB / 0.5355 GB, free: 74.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.621, allocations: 200.4 kB / 0.5357 GB, free: 74.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.6211, allocations: 43.56 kB / 0.5357 GB, free: 73.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.437e-06/0.6211, allocations: 3.984 kB / 0.5357 GB, free: 73.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01013/0.6312, allocations: 4.063 MB / 0.5397 GB, free: 69.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.6313, allocations: 90.11 kB / 0.5398 GB, free: 69.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.6316, allocations: 356.5 kB / 0.5401 GB, free: 69.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.6317, allocations: 45.7 kB / 0.5402 GB, free: 69.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.6319, allocations: 449.1 kB / 0.5406 GB, free: 68.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.6321, allocations: 428.7 kB / 0.541 GB, free: 68.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.6322, allocations: 24 kB / 0.541 GB, free: 68.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.6323, allocations: 378.7 kB / 0.5414 GB, free: 68.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.6333, allocations: 455.8 kB / 0.5418 GB, free: 67.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.6343, allocations: 0.7075 MB / 0.5425 GB, free: 66.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.6354, allocations: 0.5257 MB / 0.543 GB, free: 66.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.6354, allocations: 4 kB / 0.543 GB, free: 66.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002856/0.6383, allocations: 1.521 MB / 0.5445 GB, free: 64.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.6383, allocations: 11.95 kB / 0.5445 GB, free: 64.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.6384, allocations: 4 kB / 0.5445 GB, free: 64.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.6389, allocations: 205.3 kB / 0.5447 GB, free: 64.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.6402, allocations: 303.6 kB / 0.545 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.6435, allocations: 4.103 MB / 0.549 GB, free: 59.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009716/0.6445, allocations: 95.91 kB / 0.5491 GB, free: 59.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/0.6446, allocations: 51.98 kB / 0.5492 GB, free: 59.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004615/0.6451, allocations: 271.7 kB / 0.5494 GB, free: 59.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.6452, allocations: 63.25 kB / 0.5495 GB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.648, allocations: 1.405 MB / 0.5508 GB, free: 57.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.648, allocations: 12 kB / 0.5509 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.648, allocations: 4 kB / 0.5509 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6481, allocations: 7.969 kB / 0.5509 GB, free: 57.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.6522, allocations: 2.545 MB / 0.5534 GB, free: 55.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6522, allocations: 0 / 0.5534 GB, free: 55.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6532, allocations: 227.7 kB / 0.5536 GB, free: 55.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.6536, allocations: 179.4 kB / 0.5537 GB, free: 54.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.6537, allocations: 31.98 kB / 0.5538 GB, free: 54.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.6566, allocations: 3.988 MB / 0.5577 GB, free: 50.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6566, allocations: 0 / 0.5577 GB, free: 50.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.66, allocations: 1.956 MB / 0.5596 GB, free: 48.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.6603, allocations: 232.2 kB / 0.5598 GB, free: 48.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.6604, allocations: 27.95 kB / 0.5598 GB, free: 48.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.6611, allocations: 72.02 kB / 0.5599 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6613, allocations: 92.8 kB / 0.56 GB, free: 48.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.6613, allocations: 35.98 kB / 0.56 GB, free: 48.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.6616, allocations: 267.2 kB / 0.5603 GB, free: 47.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6616, allocations: 3.938 kB / 0.5603 GB, free: 47.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001067/0.6626, allocations: 324.1 kB / 0.5606 GB, free: 47.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSensor.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 (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003876/0.6665, allocations: 2.735 MB / 0.5633 GB, free: 44.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.6692, allocations: 1.512 MB / 0.5647 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6692, allocations: 0 / 0.5647 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.6705, allocations: 0.9129 MB / 0.5656 GB, free: 42.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.6708, allocations: 51.7 kB / 0.5657 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008323/0.6791, allocations: 9.768 MB / 0.5752 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.6795, allocations: 1.028 MB / 0.5762 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007138/0.6803, allocations: 142.6 kB / 0.5764 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.6807, allocations: 359.3 kB / 0.5767 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.6807, allocations: 0 / 0.5767 GB, free: 30.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.7078, allocations: 16.21 MB / 0.5925 GB, free: 14.83 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.708, allocations: 246.4 kB / 0.5928 GB, free: 14.59 MB / 378.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_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_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_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_model.h:24: ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_functions.h:388:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.o] Error 1