Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",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.00635/0.006349, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03973/0.03973, allocations: 8.801 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.371/1.371, allocations: 223.2 MB / 250.7 MB, free: 6.566 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.001022/0.001022, allocations: 98.98 kB / 304 MB, free: 4.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 12 kB / 367.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3055, allocations: 52.54 MB / 419.7 MB, free: 48.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.4744, allocations: 139.7 MB / 0.5463 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4747, allocations: 83.97 kB / 0.5464 GB, free: 13.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8791/1.354, allocations: 221.2 MB / 0.7624 GB, free: 47.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.354, allocations: 3.656 kB / 0.7624 GB, free: 47.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006295/1.355, allocations: 147.1 kB / 0.7625 GB, free: 47.68 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.02782/1.382, allocations: 6.525 MB / 0.7689 GB, free: 45.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/1.383, allocations: 9.938 kB / 0.7689 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006297/1.389, allocations: 1.053 MB / 0.77 GB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/1.407, allocations: 3.037 MB / 0.7729 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/1.424, allocations: 5.587 MB / 0.7784 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/1.425, allocations: 475.8 kB / 0.7788 GB, free: 44.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/1.428, allocations: 0.6212 MB / 0.7794 GB, free: 44.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/1.456, allocations: 10.24 MB / 0.7894 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005446/1.457, allocations: 13.47 kB / 0.7895 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003111/1.46, allocations: 271.7 kB / 0.7897 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006938/1.461, allocations: 0.4907 MB / 0.7902 GB, free: 43.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/1.483, allocations: 9.279 MB / 0.7993 GB, free: 41.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06611/1.549, allocations: 35.51 MB / 0.8339 GB, free: 20.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.565, allocations: 20.79 MB / 0.8542 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/1.566, allocations: 227.1 kB / 0.8544 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.432e-05/1.566, allocations: 71.45 kB / 0.8545 GB, free: 0.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 6.011e-06/1.566, allocations: 0 / 0.8545 GB, free: 0.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.03388/1.6, allocations: 11.05 MB / 0.8653 GB, free: 7.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/1.6, allocations: 85.78 kB / 0.8654 GB, free: 7.508 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006491/1.607, allocations: 2.68 MB / 0.868 GB, free: 5.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006812/1.607, allocations: 73.7 kB / 0.8681 GB, free: 5.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.61, allocations: 2.858 MB / 0.8709 GB, free: 2.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.612, allocations: 1.03 MB / 0.8719 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/1.612, allocations: 92 kB / 0.872 GB, free: 1.586 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004414/1.613, allocations: 0.4911 MB / 0.8724 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006399/1.619, allocations: 2.221 MB / 0.8746 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006478/1.625, allocations: 3.675 MB / 0.8782 GB, free: 11.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005198/1.631, allocations: 2.824 MB / 0.881 GB, free: 9.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.935e-05/1.631, allocations: 16 kB / 0.881 GB, free: 9.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.0141/1.645, allocations: 6.565 MB / 0.8874 GB, free: 3.598 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.645, allocations: 35.94 kB / 0.8874 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.645, allocations: 55.95 kB / 0.8875 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/1.647, allocations: 0.6738 MB / 0.8881 GB, free: 2.996 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/1.652, allocations: 1.066 MB / 0.8892 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2571/1.909, allocations: 5.927 MB / 0.895 GB, free: 73.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.914, allocations: 307.1 kB / 0.8952 GB, free: 73.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008227/1.915, allocations: 231.3 kB / 0.8955 GB, free: 73.13 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.005094/1.92, allocations: 2.312 MB / 0.8977 GB, free: 73.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008531/1.92, allocations: 322.2 kB / 0.898 GB, free: 73.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007058/1.928, allocations: 4.621 MB / 0.9025 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.928, allocations: 33.97 kB / 0.9026 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.928, allocations: 7.312 kB / 0.9026 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/1.928, allocations: 13.59 kB / 0.9026 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/1.946, allocations: 11.14 MB / 0.9135 GB, free: 71.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.946, allocations: 3.219 kB / 0.9135 GB, free: 71.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.949, allocations: 0.5276 MB / 0.914 GB, free: 71.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/1.95, allocations: 0.5658 MB / 0.9145 GB, free: 71.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003422/1.951, allocations: 63.94 kB / 0.9146 GB, free: 71.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007559/1.958, allocations: 5.184 MB / 0.9197 GB, free: 70.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.958, allocations: 14.41 kB / 0.9197 GB, free: 70.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.969, allocations: 7.031 MB / 0.9266 GB, free: 69.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.971, allocations: 0.7527 MB / 0.9273 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007534/1.972, allocations: 54.88 kB / 0.9273 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.974, allocations: 159.5 kB / 0.9275 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/1.974, allocations: 209.3 kB / 0.9277 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.974, allocations: 90.8 kB / 0.9278 GB, free: 68.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003693/1.978, allocations: 1.98 MB / 0.9297 GB, free: 68.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.978, allocations: 0 / 0.9297 GB, free: 68.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007022/1.985, allocations: 1.236 MB / 0.9309 GB, free: 68.83 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.01131/1.997, allocations: 8.942 MB / 0.9397 GB, free: 66.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009143/2.006, allocations: 4.994 MB / 0.9445 GB, free: 65.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/2.006, allocations: 0 / 0.9445 GB, free: 65.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004816/2.011, allocations: 2.249 MB / 0.9467 GB, free: 65.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/2.014, allocations: 0.5707 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.07205/2.086, allocations: 69.81 MB / 1.015 GB, free: 9.559 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007215/2.094, allocations: 4.256 MB / 1.02 GB, free: 7.879 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004865/2.099, allocations: 1.402 MB / 1.021 GB, free: 7.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004042/2.103, allocations: 2.237 MB / 1.023 GB, free: 5.906 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/2.103, allocations: 0 / 1.023 GB, free: 5.906 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/2.536, allocations: 89.35 MB / 1.11 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/2.536, allocations: 188.5 kB / 1.111 GB, free: 100.3 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_Slip3.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_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_Slip3.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_model.h:24: ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3.o] Error 1