Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.001009, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009404/0.0009403, allocations: 101.4 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002506, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 51.49 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.6108, allocations: 132.5 MB / 0.5294 GB, free: 48.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6111, allocations: 108.8 kB / 0.5295 GB, free: 48.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.278/1.889, allocations: 399.4 MB / 0.9195 GB, free: 53.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.327e-06/1.889, allocations: 0 / 0.9195 GB, free: 53.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006375/1.89, allocations: 244.3 kB / 0.9197 GB, free: 53.06 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03619/1.926, allocations: 10.73 MB / 0.9302 GB, free: 49.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/1.926, allocations: 7.281 kB / 0.9302 GB, free: 49.74 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007849/1.934, allocations: 1.797 MB / 0.9319 GB, free: 49.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0317/1.966, allocations: 5.666 MB / 0.9375 GB, free: 49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/1.988, allocations: 8.96 MB / 0.9462 GB, free: 47.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008687/1.989, allocations: 0.774 MB / 0.947 GB, free: 47.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004798/1.993, allocations: 1.014 MB / 0.948 GB, free: 47.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05408/2.047, allocations: 18.04 MB / 0.9656 GB, free: 42.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005714/2.048, allocations: 19.81 kB / 0.9656 GB, free: 42.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004783/2.053, allocations: 447.9 kB / 0.966 GB, free: 42.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000926/2.054, allocations: 0.8686 MB / 0.9669 GB, free: 42.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/2.087, allocations: 16.33 MB / 0.9828 GB, free: 31.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4108/2.498, allocations: 59.58 MB / 1.041 GB, free: 52.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02618/2.524, allocations: 37.29 MB / 1.077 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/2.525, allocations: 269.5 kB / 1.078 GB, free: 38.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.246e-05/2.525, allocations: 90.83 kB / 1.078 GB, free: 38.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=524): time 7.915e-06/2.525, allocations: 3.656 kB / 1.078 GB, free: 38.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=530): time 0.04253/2.568, allocations: 21.85 MB / 1.099 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/2.568, allocations: 104.5 kB / 1.099 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/2.573, allocations: 3.599 MB / 1.103 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008655/2.574, allocations: 109.5 kB / 1.103 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002373/2.576, allocations: 4.511 MB / 1.107 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/2.578, allocations: 1.798 MB / 1.109 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/2.579, allocations: 142.8 kB / 1.109 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004225/2.579, allocations: 0.5962 MB / 1.11 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/2.583, allocations: 3.466 MB / 1.113 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/2.589, allocations: 5.896 MB / 1.119 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005719/2.594, allocations: 4.807 MB / 1.124 GB, free: 29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.141e-05/2.594, allocations: 24.78 kB / 1.124 GB, free: 29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01619/2.611, allocations: 11 MB / 1.134 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/2.611, allocations: 40.98 kB / 1.134 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/2.611, allocations: 80.34 kB / 1.134 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00317/2.614, allocations: 1.402 MB / 1.136 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/2.62, allocations: 1.606 MB / 1.137 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/2.634, allocations: 10.94 MB / 1.148 GB, free: 26.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/2.641, allocations: 418.9 kB / 1.148 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/2.642, allocations: 336.8 kB / 1.149 GB, free: 26.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * 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 (844): * Single equations (assignments): 839 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007938/2.65, allocations: 4.169 MB / 1.153 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/2.651, allocations: 473.5 kB / 1.153 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/2.664, allocations: 8.56 MB / 1.162 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009679/2.674, allocations: 7.122 MB / 1.169 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/2.674, allocations: 14.72 kB / 1.169 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/2.674, allocations: 28.17 kB / 1.169 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03135/2.705, allocations: 19.86 MB / 1.188 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/2.705, allocations: 4.031 kB / 1.188 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/2.709, allocations: 0.9267 MB / 1.189 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/2.712, allocations: 1.223 MB / 1.19 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/2.712, allocations: 114.9 kB / 1.19 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/2.729, allocations: 9.494 MB / 1.2 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/2.73, allocations: 0 / 1.2 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05054/2.78, allocations: 13.15 MB / 1.212 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00606/2.786, allocations: 1.166 MB / 1.214 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002699/2.789, allocations: 93.69 kB / 1.214 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005243/2.794, allocations: 285.9 kB / 1.214 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001392/2.796, allocations: 345.9 kB / 1.214 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004022/2.796, allocations: 153.6 kB / 1.214 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004773/2.801, allocations: 2.687 MB / 1.217 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.801, allocations: 4 kB / 1.217 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007487/2.808, allocations: 1.984 MB / 1.219 GB, free: 5.359 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[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 (502): * Single equations (assignments): 497 * 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.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3047/3.113, allocations: 14.53 MB / 1.233 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01397/3.127, allocations: 8.794 MB / 1.242 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/3.127, allocations: 0 / 1.242 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007052/3.134, allocations: 4.208 MB / 1.246 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/3.14, allocations: 0.9966 MB / 1.247 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/3.258, allocations: 109.7 MB / 1.354 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01366/3.272, allocations: 7.19 MB / 1.361 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00799/3.28, allocations: 2.337 MB / 1.363 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007112/3.287, allocations: 3.876 MB / 1.367 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.352e-06/3.287, allocations: 0 / 1.367 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5177/3.805, allocations: 147.7 MB / 1.511 GB, free: 95.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/3.805, allocations: 261.6 kB / 1.511 GB, free: 95.25 MB / 0.5261 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_BasicMachines_InductionMachines_IMS_Characteristics.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_model.h:24: ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_functions.h:1124: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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_functions.h:1133: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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.o] Error 1