Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",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.006132/0.006132, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03908/0.03908, allocations: 8.799 MB / 24.65 MB, free: 4.117 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 250.7 MB, free: 6.547 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.00095/0.0009499, allocations: 94.45 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 8 kB / 367.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 52.54 MB / 419.7 MB, free: 48.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.4727, allocations: 139.7 MB / 0.5463 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.4731, allocations: 86.5 kB / 0.5464 GB, free: 13.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8855/1.359, allocations: 221.2 MB / 0.7624 GB, free: 47.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.359, allocations: 4 kB / 0.7624 GB, free: 47.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004373/1.359, allocations: 147 kB / 0.7625 GB, free: 47.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02552/1.385, allocations: 6.525 MB / 0.7689 GB, free: 45.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.385, allocations: 14 kB / 0.7689 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005159/1.39, allocations: 1.054 MB / 0.77 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/1.407, allocations: 3.037 MB / 0.7729 GB, free: 45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/1.421, allocations: 5.581 MB / 0.7784 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/1.422, allocations: 480.1 kB / 0.7788 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/1.424, allocations: 0.6115 MB / 0.7794 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/1.448, allocations: 10.24 MB / 0.7894 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002711/1.448, allocations: 19.95 kB / 0.7894 GB, free: 43.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001985/1.45, allocations: 273.5 kB / 0.7897 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005221/1.45, allocations: 0.4884 MB / 0.7902 GB, free: 43.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/1.471, allocations: 9.289 MB / 0.7993 GB, free: 41.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05384/1.525, allocations: 35.51 MB / 0.8339 GB, free: 20.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/1.539, allocations: 20.79 MB / 0.8542 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/1.54, allocations: 231.1 kB / 0.8545 GB, free: 0.582 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.54, allocations: 60.89 kB / 0.8545 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 5.029e-06/1.54, allocations: 0 / 0.8545 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.02664/1.566, allocations: 11.09 MB / 0.8653 GB, free: 7.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.566, allocations: 81.78 kB / 0.8654 GB, free: 7.512 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00479/1.571, allocations: 2.685 MB / 0.868 GB, free: 5.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006343/1.572, allocations: 73.7 kB / 0.8681 GB, free: 5.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/1.574, allocations: 2.854 MB / 0.8709 GB, free: 2.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.576, allocations: 1.034 MB / 0.8719 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.576, allocations: 92 kB / 0.872 GB, free: 1.586 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002908/1.576, allocations: 0.4926 MB / 0.8725 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005596/1.582, allocations: 2.222 MB / 0.8747 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/1.586, allocations: 3.678 MB / 0.8782 GB, free: 11.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.59, allocations: 2.816 MB / 0.881 GB, free: 9.387 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-05/1.59, allocations: 20 kB / 0.881 GB, free: 9.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01083/1.601, allocations: 6.567 MB / 0.8874 GB, free: 3.598 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/1.601, allocations: 28 kB / 0.8875 GB, free: 3.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-05/1.601, allocations: 56.2 kB / 0.8875 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/1.603, allocations: 0.6793 MB / 0.8882 GB, free: 2.996 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/1.607, allocations: 1.069 MB / 0.8892 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2619/1.869, allocations: 5.932 MB / 0.895 GB, free: 73.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/1.873, allocations: 303.8 kB / 0.8953 GB, free: 73.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008201/1.874, allocations: 226 kB / 0.8955 GB, free: 73.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * 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 (561): * Single equations (assignments): 560 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004976/1.879, allocations: 2.308 MB / 0.8978 GB, free: 73.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008613/1.88, allocations: 318.4 kB / 0.8981 GB, free: 73.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007025/1.887, allocations: 4.628 MB / 0.9026 GB, free: 72.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/1.887, allocations: 34.28 kB / 0.9026 GB, free: 72.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.887, allocations: 3.906 kB / 0.9026 GB, free: 72.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.887, allocations: 13.97 kB / 0.9026 GB, free: 72.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/1.905, allocations: 11.14 MB / 0.9135 GB, free: 71.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.905, allocations: 3.969 kB / 0.9135 GB, free: 71.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/1.907, allocations: 0.5302 MB / 0.914 GB, free: 71.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/1.909, allocations: 0.5624 MB / 0.9146 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.909, allocations: 68.52 kB / 0.9147 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007174/1.916, allocations: 5.181 MB / 0.9197 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.916, allocations: 12.44 kB / 0.9197 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.927, allocations: 7.027 MB / 0.9266 GB, free: 69.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.929, allocations: 0.7528 MB / 0.9273 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006093/1.93, allocations: 57.22 kB / 0.9274 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.931, allocations: 160.6 kB / 0.9275 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/1.932, allocations: 210.9 kB / 0.9277 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.932, allocations: 85.33 kB / 0.9278 GB, free: 69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003718/1.936, allocations: 1.98 MB / 0.9297 GB, free: 68.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.936, allocations: 0 / 0.9297 GB, free: 68.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005723/1.942, allocations: 1.238 MB / 0.931 GB, free: 68.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (smee.excitation.electroMagneticConverter.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01035/1.952, allocations: 8.946 MB / 0.9397 GB, free: 66.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008414/1.96, allocations: 5.001 MB / 0.9446 GB, free: 65.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.96, allocations: 0 / 0.9446 GB, free: 65.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003629/1.964, allocations: 2.245 MB / 0.9468 GB, free: 65.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.967, allocations: 0.5719 MB / 0.9473 GB, free: 65.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07186/2.039, allocations: 69.8 MB / 1.015 GB, free: 9.559 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006646/2.046, allocations: 4.263 MB / 1.02 GB, free: 7.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004441/2.05, allocations: 1.405 MB / 1.021 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00315/2.054, allocations: 2.24 MB / 1.023 GB, free: 5.902 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/2.054, allocations: 0 / 1.023 GB, free: 5.902 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3599/2.414, allocations: 89.4 MB / 1.111 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/2.414, allocations: 197.2 kB / 1.111 GB, free: 100.2 MB / 0.4948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_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 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_model.h:24: ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_functions.h:915:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24apparentPower' _omcQComplexOutput_24multiSensor_24apparentPower omc__omcQComplexOutput_24multiSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_functions.h:924:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24apparentPowerTotal' _omcQComplexOutput_24multiSensor_24apparentPowerTotal omc__omcQComplexOutput_24multiSensor_24apparentPowerTotal (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_functions.h:933:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24i' _omcQComplexOutput_24multiSensor_24i omc__omcQComplexOutput_24multiSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_functions.h:942:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24v' _omcQComplexOutput_24multiSensor_24v omc__omcQComplexOutput_24multiSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_functions.h:951:1: error: unknown type name '_omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v' _omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v omc__omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_functions.h:960:1: error: unknown type name '_omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v' _omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v omc__omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 6 errors generated. make: *** [: HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.o] Error 1