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_Characteristics.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_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",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.001315/0.001315, allocations: 179.9 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.376/1.376, 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.0008579/0.0008579, allocations: 97.52 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 8 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.6315, allocations: 127.1 MB / 0.5163 GB, free: 51.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.6318, allocations: 106.4 kB / 0.5164 GB, free: 51.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256/1.888, allocations: 337.7 MB / 0.8462 GB, free: 55.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.888, allocations: 0 / 0.8462 GB, free: 55.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005796/1.889, allocations: 214.8 kB / 0.8464 GB, free: 55.34 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03382/1.923, allocations: 9.402 MB / 0.8556 GB, free: 52.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.923, allocations: 7.094 kB / 0.8556 GB, free: 52.57 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007979/1.931, allocations: 1.561 MB / 0.8571 GB, free: 52.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02709/1.958, allocations: 4.245 MB / 0.8613 GB, free: 51.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02452/1.982, allocations: 8.063 MB / 0.8691 GB, free: 51.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008213/1.983, allocations: 0.677 MB / 0.8698 GB, free: 51.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004699/1.988, allocations: 0.8791 MB / 0.8706 GB, free: 51.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/2.029, allocations: 15.59 MB / 0.8859 GB, free: 49.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004001/2.029, allocations: 21.81 kB / 0.8859 GB, free: 49.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003619/2.033, allocations: 391 kB / 0.8863 GB, free: 49.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008236/2.034, allocations: 0.725 MB / 0.887 GB, free: 49.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03287/2.066, allocations: 13.77 MB / 0.9004 GB, free: 49.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1048/2.171, allocations: 51.34 MB / 0.9506 GB, free: 29.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02649/2.198, allocations: 26.43 MB / 0.9764 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/2.199, allocations: 166 kB / 0.9765 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/2.199, allocations: 78.89 kB / 0.9766 GB, free: 5.664 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 2.061e-05/2.199, allocations: 0 / 0.9766 GB, free: 5.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.05045/2.249, allocations: 17.68 MB / 0.9939 GB, free: 13.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/2.249, allocations: 98.2 kB / 0.994 GB, free: 13.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008925/2.258, allocations: 3.244 MB / 0.9971 GB, free: 10.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001298/2.26, allocations: 93.7 kB / 0.9972 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005364/2.265, allocations: 3.983 MB / 1.001 GB, free: 7.004 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00333/2.268, allocations: 1.403 MB / 1.002 GB, free: 5.742 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/2.27, allocations: 116 kB / 1.003 GB, free: 5.629 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009516/2.271, allocations: 0.5389 MB / 1.003 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005871/2.277, allocations: 2.821 MB / 1.006 GB, free: 2.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007924/2.285, allocations: 4.955 MB / 1.011 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/2.293, allocations: 3.972 MB / 1.015 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.454e-05/2.293, allocations: 20 kB / 1.015 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0225/2.315, allocations: 9.126 MB / 1.024 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/2.316, allocations: 32.78 kB / 1.024 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/2.316, allocations: 72 kB / 1.024 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/2.32, allocations: 1.221 MB / 1.025 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005858/2.325, allocations: 1.319 MB / 1.026 GB, free: 336 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3845/2.71, allocations: 9.415 MB / 1.035 GB, free: 78.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/2.716, allocations: 335.4 kB / 1.036 GB, free: 78.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/2.717, allocations: 286.1 kB / 1.036 GB, free: 78.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009331/2.727, allocations: 3.712 MB / 1.04 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.728, allocations: 405.8 kB / 1.04 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/2.74, allocations: 6.74 MB / 1.046 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008838/2.749, allocations: 5.627 MB / 1.052 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/2.749, allocations: 14.45 kB / 1.052 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-05/2.749, allocations: 20.72 kB / 1.052 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03319/2.782, allocations: 16.39 MB / 1.068 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/2.782, allocations: 3.875 kB / 1.068 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/2.785, allocations: 0.7302 MB / 1.069 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/2.788, allocations: 1.07 MB / 1.07 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000496/2.788, allocations: 93.14 kB / 1.07 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/2.8, allocations: 8.343 MB / 1.078 GB, free: 75.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/2.8, allocations: 9.219 kB / 1.078 GB, free: 75.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/2.817, allocations: 10.41 MB / 1.088 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003428/2.82, allocations: 0.9715 MB / 1.089 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/2.821, allocations: 75.22 kB / 1.089 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/2.824, allocations: 216.5 kB / 1.089 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007655/2.825, allocations: 284.8 kB / 1.09 GB, free: 73.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003806/2.826, allocations: 124 kB / 1.09 GB, free: 73.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005501/2.831, allocations: 2.434 MB / 1.092 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.92e-07/2.831, allocations: 2.656 kB / 1.092 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008988/2.84, allocations: 1.655 MB / 1.094 GB, free: 73.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01824/2.858, allocations: 12.45 MB / 1.106 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01373/2.872, allocations: 7.171 MB / 1.113 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/2.872, allocations: 3.219 kB / 1.113 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006547/2.879, allocations: 3.423 MB / 1.116 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/2.884, allocations: 0.8633 MB / 1.117 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.126/3.01, allocations: 94.8 MB / 1.21 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3036/3.314, allocations: 6.534 MB / 1.216 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006307/3.32, allocations: 1.904 MB / 1.218 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006565/3.327, allocations: 3.215 MB / 1.221 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/3.327, allocations: 0 / 1.221 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1866/3.514, allocations: 126.6 MB / 1.345 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/3.514, allocations: 263 kB / 1.345 GB, free: 53.61 MB / 0.5105 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_Characteristics.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_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_Characteristics.c:7: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_model.h:24: ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_functions.h:1025: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); ^ ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_functions.h:1034:1: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24pSensorQS_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_BasicMachines_InductionMachines_IMC_Characteristics.o] Error 1