Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",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.006773/0.006772, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03998/0.03998, allocations: 8.794 MB / 24.65 MB, free: 4.188 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.379/1.379, allocations: 223.2 MB / 250.7 MB, free: 6.562 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.0009566/0.0009567, allocations: 96.2 kB / 304 MB, free: 4.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004209, allocations: 16 kB / 367.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 52.53 MB / 419.7 MB, free: 48.13 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.4686, allocations: 139.7 MB / 0.5463 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.4689, allocations: 84.98 kB / 0.5463 GB, free: 13.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9699/1.439, allocations: 221 MB / 0.7622 GB, free: 47.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.507e-06/1.439, allocations: 0 / 0.7622 GB, free: 47.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006954/1.44, allocations: 149.2 kB / 0.7623 GB, free: 47.91 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.02845/1.468, allocations: 6.534 MB / 0.7687 GB, free: 45.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/1.468, allocations: 9.625 kB / 0.7687 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006163/1.474, allocations: 1.052 MB / 0.7697 GB, free: 45.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/1.493, allocations: 3.037 MB / 0.7727 GB, free: 45.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.511, allocations: 5.586 MB / 0.7782 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007809/1.512, allocations: 474.5 kB / 0.7786 GB, free: 44.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00355/1.516, allocations: 0.6123 MB / 0.7792 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/1.548, allocations: 10.24 MB / 0.7892 GB, free: 43.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004755/1.549, allocations: 13.55 kB / 0.7892 GB, free: 43.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/1.552, allocations: 278.2 kB / 0.7895 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007902/1.552, allocations: 499.1 kB / 0.79 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/1.575, allocations: 9.285 MB / 0.799 GB, free: 41.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06789/1.643, allocations: 35.51 MB / 0.8337 GB, free: 20.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.659, allocations: 20.8 MB / 0.854 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/1.66, allocations: 224.9 kB / 0.8542 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.404e-05/1.66, allocations: 64.89 kB / 0.8543 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 8.896e-06/1.66, allocations: 0 / 0.8543 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.02997/1.69, allocations: 10.93 MB / 0.865 GB, free: 7.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/1.69, allocations: 85.78 kB / 0.865 GB, free: 7.508 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006735/1.697, allocations: 2.677 MB / 0.8677 GB, free: 5.227 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007322/1.697, allocations: 73.7 kB / 0.8677 GB, free: 5.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002916/1.7, allocations: 2.859 MB / 0.8705 GB, free: 2.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.703, allocations: 1.03 MB / 0.8715 GB, free: 1.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.704, allocations: 92 kB / 0.8716 GB, free: 1.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000774/1.704, allocations: 0.4898 MB / 0.8721 GB, free: 1.148 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006759/1.711, allocations: 2.22 MB / 0.8743 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/1.717, allocations: 3.674 MB / 0.8779 GB, free: 11.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/1.723, allocations: 2.824 MB / 0.8806 GB, free: 9.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-05/1.723, allocations: 16 kB / 0.8806 GB, free: 9.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01548/1.738, allocations: 6.568 MB / 0.887 GB, free: 3.594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.739, allocations: 32.25 kB / 0.8871 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.739, allocations: 58.95 kB / 0.8871 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/1.741, allocations: 0.6701 MB / 0.8878 GB, free: 2.996 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/1.745, allocations: 1.069 MB / 0.8888 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.757, allocations: 5.933 MB / 0.8946 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.762, allocations: 306.3 kB / 0.8949 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.763, allocations: 234.9 kB / 0.8951 GB, free: 12.62 MB / 490.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.006553/1.77, allocations: 2.309 MB / 0.8974 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.771, allocations: 316.1 kB / 0.8977 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.782, allocations: 4.625 MB / 0.9022 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/1.782, allocations: 35.95 kB / 0.9022 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/1.782, allocations: 8 kB / 0.9023 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/1.782, allocations: 15.09 kB / 0.9023 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3218/2.104, allocations: 11.13 MB / 0.9131 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/2.104, allocations: 6.719 kB / 0.9131 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/2.106, allocations: 0.5308 MB / 0.9137 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/2.108, allocations: 0.5629 MB / 0.9142 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003442/2.108, allocations: 66.36 kB / 0.9143 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006443/2.114, allocations: 5.199 MB / 0.9193 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/2.115, allocations: 4.062 kB / 0.9194 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009949/2.124, allocations: 7.025 MB / 0.9262 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/2.127, allocations: 0.7504 MB / 0.9269 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009874/2.128, allocations: 57.41 kB / 0.927 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/2.13, allocations: 162.2 kB / 0.9272 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/2.131, allocations: 205.2 kB / 0.9274 GB, free: 85.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/2.131, allocations: 90.36 kB / 0.9274 GB, free: 85.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003722/2.135, allocations: 1.983 MB / 0.9294 GB, free: 85.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.135, allocations: 0 / 0.9294 GB, free: 85.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007196/2.142, allocations: 1.228 MB / 0.9306 GB, free: 85.81 MB / 490.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.01303/2.155, allocations: 8.942 MB / 0.9393 GB, free: 83.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009325/2.164, allocations: 5.005 MB / 0.9442 GB, free: 83.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/2.164, allocations: 1.781 kB / 0.9442 GB, free: 83.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004977/2.169, allocations: 2.246 MB / 0.9464 GB, free: 82.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/2.173, allocations: 0.5741 MB / 0.9469 GB, free: 82.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08061/2.254, allocations: 69.8 MB / 1.015 GB, free: 33.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007933/2.262, allocations: 4.257 MB / 1.019 GB, free: 31.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006028/2.268, allocations: 1.398 MB / 1.021 GB, free: 31.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005292/2.273, allocations: 2.237 MB / 1.023 GB, free: 29.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/2.273, allocations: 4 kB / 1.023 GB, free: 29.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3945/2.668, allocations: 88.46 MB / 1.109 GB, free: 84.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/2.668, allocations: 197.8 kB / 1.109 GB, free: 84.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_Slip1.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_Slip1.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_model.h:24: ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_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_Slip1_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_Slip1_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_Slip1_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_Slip1_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_Slip1_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_Slip1.o] Error 1