Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",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.001556/0.001556, 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.337/1.337, allocations: 223.2 MB / 240.3 MB, free: 11.91 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.0009229/0.0009231, allocations: 83.72 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 7.984 kB / 352.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 50.4 MB / 402.9 MB, free: 32.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.7431, allocations: 167.2 MB / 0.5568 GB, free: 39.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.7435, allocations: 106.2 kB / 0.5569 GB, free: 39.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.381/4.124, allocations: 0.8627 GB / 1.42 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.645e-06/4.124, allocations: 4 kB / 1.42 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.00201/4.127, allocations: 478 kB / 1.42 GB, free: 33.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.09214/4.219, allocations: 20.64 MB / 1.44 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/4.219, allocations: 11.17 kB / 1.44 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02022/4.239, allocations: 2.98 MB / 1.443 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05545/4.294, allocations: 9.737 MB / 1.453 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04801/4.343, allocations: 16.26 MB / 1.469 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00224/4.345, allocations: 1.514 MB / 1.47 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01174/4.357, allocations: 1.997 MB / 1.472 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.11/4.467, allocations: 34.22 MB / 1.505 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001546/4.468, allocations: 28.28 kB / 1.505 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01287/4.481, allocations: 0.8584 MB / 1.506 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/4.483, allocations: 1.482 MB / 1.508 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07684/4.56, allocations: 30.15 MB / 1.537 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7595/5.32, allocations: 107.5 MB / 1.642 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05473/5.375, allocations: 50.7 MB / 1.692 GB, free: 20.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06087/5.436, allocations: 21.59 MB / 1.713 GB, free: 18.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/5.436, allocations: 137.2 kB / 1.713 GB, free: 18.72 MB / 0.573 GB Notification: Performance of pre-optimization done (n=906): time 1.022e-05/5.436, allocations: 0 / 1.713 GB, free: 18.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=918): time 0.08113/5.517, allocations: 39.71 MB / 1.752 GB, free: 11.76 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/5.517, allocations: 169.3 kB / 1.752 GB, free: 11.65 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/5.532, allocations: 7.402 MB / 1.759 GB, free: 9.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002183/5.534, allocations: 181.4 kB / 1.759 GB, free: 9.121 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006034/5.541, allocations: 8.634 MB / 1.768 GB, free: 2.668 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005333/5.546, allocations: 3.094 MB / 1.771 GB, free: 284 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/5.547, allocations: 229.2 kB / 1.771 GB, free: 100 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001161/5.548, allocations: 0.8049 MB / 1.772 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/5.559, allocations: 6.226 MB / 1.778 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0187/5.578, allocations: 9.816 MB / 1.787 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/5.594, allocations: 8.273 MB / 1.795 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/5.594, allocations: 32 kB / 1.795 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1480) (initialization): time 0.5555/6.15, allocations: 20.66 MB / 1.816 GB, free: 89.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/6.15, allocations: 49.94 kB / 1.816 GB, free: 89.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/6.15, allocations: 116 kB / 1.816 GB, free: 89.43 MB / 0.5886 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/6.152, allocations: 0.8155 MB / 1.816 GB, free: 89.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/6.164, allocations: 2.394 MB / 1.819 GB, free: 89.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/6.175, allocations: 11.69 MB / 1.83 GB, free: 82.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/6.187, allocations: 0.6108 MB / 1.831 GB, free: 82.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003339/6.191, allocations: 0.509 MB / 1.831 GB, free: 82.91 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1226): * Single equations (assignments): 1219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02101/6.212, allocations: 7.914 MB / 1.839 GB, free: 82.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/6.215, allocations: 0.9109 MB / 1.84 GB, free: 82.79 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03361/6.248, allocations: 17.12 MB / 1.857 GB, free: 82.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.781e-05/6.248, allocations: 93.72 kB / 1.857 GB, free: 82.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001279/6.249, allocations: 41.34 kB / 1.857 GB, free: 82.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002577/6.249, allocations: 45.89 kB / 1.857 GB, free: 82.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09134/6.34, allocations: 36.11 MB / 1.892 GB, free: 80.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001096/6.34, allocations: 10.48 kB / 1.892 GB, free: 80.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007771/6.348, allocations: 1.438 MB / 1.894 GB, free: 80.3 MB / 0.5886 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/6.351, allocations: 0.8541 MB / 1.894 GB, free: 80.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001939/6.353, allocations: 208 kB / 1.895 GB, free: 80.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/6.366, allocations: 15.97 MB / 1.91 GB, free: 71.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/6.366, allocations: 12.78 kB / 1.91 GB, free: 71.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04311/6.41, allocations: 26.08 MB / 1.936 GB, free: 59.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008711/6.418, allocations: 2.272 MB / 1.938 GB, free: 58.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/6.422, allocations: 185.1 kB / 1.938 GB, free: 58.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007644/6.429, allocations: 0.5077 MB / 1.939 GB, free: 58.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002374/6.432, allocations: 0.7973 MB / 1.939 GB, free: 58.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007868/6.433, allocations: 262.7 kB / 1.94 GB, free: 58.08 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01212/6.445, allocations: 5.616 MB / 1.945 GB, free: 56.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.11e-07/6.445, allocations: 0 / 1.945 GB, free: 56.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02033/6.465, allocations: 3.522 MB / 1.948 GB, free: 55.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (715): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05193/6.517, allocations: 28.24 MB / 1.976 GB, free: 33.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02906/6.546, allocations: 16.12 MB / 1.992 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/6.546, allocations: 0 / 1.992 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01669/6.563, allocations: 8.812 MB / 2 GB, free: 12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01578/6.579, allocations: 2.333 MB / 2.003 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7854/7.364, allocations: 202.7 MB / 2.201 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04272/7.407, allocations: 13.46 MB / 2.214 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0203/7.427, allocations: 3.977 MB / 2.218 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01983/7.447, allocations: 7.735 MB / 2.225 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/7.447, allocations: 0 / 2.225 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.84/9.288, allocations: 283.9 MB / 2.502 GB, free: 60.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/9.288, allocations: 254.4 kB / 2.503 GB, free: 60.52 MB / 0.6355 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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_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_BasicMachines_InductionMachines_IMC_Transformer.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_model.h:24: ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_functions.h:1374:1: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24i' _omcQComplexOutput_24iSensorQS_24currentSensor_24i omc__omcQComplexOutput_24iSensorQS_24currentSensor_24i (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_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.o] Error 1