Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 181 kB / 16.38 MB, free: 5.762 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.417/1.417, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.00091/0.00091, allocations: 99.25 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002633, allocations: 4 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2429, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.3809, allocations: 88.24 MB / 489.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/0.3813, allocations: 92.42 kB / 489.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3738/0.7552, allocations: 35.6 MB / 0.5132 GB, free: 87.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7552, allocations: 1.781 kB / 0.5132 GB, free: 87.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.7552, allocations: 18.28 kB / 0.5132 GB, free: 87.38 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.004166/0.7594, allocations: 1.524 MB / 0.5147 GB, free: 86.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7595, allocations: 11.38 kB / 0.5147 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/0.7597, allocations: 188.7 kB / 0.5149 GB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.7625, allocations: 462.8 kB / 0.5153 GB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.7628, allocations: 301.7 kB / 0.5156 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.7629, allocations: 97.48 kB / 0.5157 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.7631, allocations: 128.8 kB / 0.5158 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.7652, allocations: 1.298 MB / 0.5171 GB, free: 86.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.7653, allocations: 7.875 kB / 0.5171 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.7654, allocations: 58.78 kB / 0.5172 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.7654, allocations: 32.16 kB / 0.5172 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.7676, allocations: 1.231 MB / 0.5184 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005934/0.7735, allocations: 4.247 MB / 0.5226 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.7756, allocations: 2.296 MB / 0.5248 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.7757, allocations: 111.2 kB / 0.5249 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.7757, allocations: 43.09 kB / 0.5249 GB, free: 82.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.807e-06/0.7757, allocations: 0 / 0.5249 GB, free: 82.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01029/0.786, allocations: 4.067 MB / 0.5289 GB, free: 80.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.7861, allocations: 90.11 kB / 0.529 GB, free: 80.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.7865, allocations: 348.3 kB / 0.5293 GB, free: 79.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.7865, allocations: 45.7 kB / 0.5294 GB, free: 79.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.7867, allocations: 456.2 kB / 0.5298 GB, free: 79.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.787, allocations: 427.9 kB / 0.5302 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.787, allocations: 28 kB / 0.5302 GB, free: 79.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7871, allocations: 371.1 kB / 0.5306 GB, free: 78.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00094/0.7881, allocations: 460.2 kB / 0.531 GB, free: 78.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7892, allocations: 0.7105 MB / 0.5317 GB, free: 77.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7903, allocations: 0.5316 MB / 0.5323 GB, free: 77.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7903, allocations: 4 kB / 0.5323 GB, free: 77.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002719/0.793, allocations: 1.516 MB / 0.5337 GB, free: 75.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.793, allocations: 8 kB / 0.5337 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.793, allocations: 8 kB / 0.5338 GB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/0.7936, allocations: 198.2 kB / 0.5339 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.7948, allocations: 304.5 kB / 0.5342 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.7982, allocations: 4.103 MB / 0.5382 GB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.7992, allocations: 93.73 kB / 0.5383 GB, free: 71.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.7993, allocations: 58.55 kB / 0.5384 GB, free: 71.02 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.0004834/0.7998, allocations: 269.5 kB / 0.5386 GB, free: 70.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.7999, allocations: 67.16 kB / 0.5387 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.8027, allocations: 1.397 MB / 0.5401 GB, free: 69.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8027, allocations: 16 kB / 0.5401 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8028, allocations: 4 kB / 0.5401 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.8028, allocations: 6.516 kB / 0.5401 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.8068, allocations: 2.549 MB / 0.5426 GB, free: 67.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8068, allocations: 3.953 kB / 0.5426 GB, free: 67.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009688/0.8078, allocations: 228.2 kB / 0.5428 GB, free: 67.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.8082, allocations: 180.6 kB / 0.543 GB, free: 66.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.8083, allocations: 27.8 kB / 0.543 GB, free: 66.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.8113, allocations: 3.98 MB / 0.5469 GB, free: 62.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8113, allocations: 4.031 kB / 0.5469 GB, free: 62.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.8148, allocations: 1.963 MB / 0.5488 GB, free: 61.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.8152, allocations: 231.9 kB / 0.549 GB, free: 60.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.8154, allocations: 24 kB / 0.5491 GB, free: 60.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.8161, allocations: 76 kB / 0.5491 GB, free: 60.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8163, allocations: 92.77 kB / 0.5492 GB, free: 60.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.8164, allocations: 35.98 kB / 0.5493 GB, free: 60.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.8166, allocations: 267.2 kB / 0.5495 GB, free: 60.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8166, allocations: 0 / 0.5495 GB, free: 60.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001141/0.8178, allocations: 316.1 kB / 0.5498 GB, free: 59.98 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.00386/0.8216, allocations: 2.741 MB / 0.5525 GB, free: 57.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.8244, allocations: 1.514 MB / 0.554 GB, free: 55.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8244, allocations: 0 / 0.554 GB, free: 55.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.8258, allocations: 0.905 MB / 0.5548 GB, free: 54.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.8262, allocations: 48.41 kB / 0.5549 GB, free: 54.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/0.835, allocations: 9.768 MB / 0.5644 GB, free: 44.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.8356, allocations: 1.032 MB / 0.5654 GB, free: 43.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007793/0.8364, allocations: 150.8 kB / 0.5656 GB, free: 43.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.8368, allocations: 355.3 kB / 0.5659 GB, free: 43.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.8368, allocations: 4 kB / 0.5659 GB, free: 43.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.8679, allocations: 16.13 MB / 0.5817 GB, free: 27.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.8681, allocations: 244.8 kB / 0.5819 GB, free: 27.07 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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.c:7: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_model.h:24: ./Modelica_4_0_0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.o] Error 1