Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",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.007187/0.007187, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0378/0.0378, allocations: 8.798 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.307/1.307, allocations: 223.2 MB / 250.7 MB, free: 6.574 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.0009157/0.0009156, allocations: 98.53 kB / 304 MB, free: 4.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 12 kB / 367.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2599, allocations: 52.53 MB / 419.7 MB, free: 48.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.4298, allocations: 139.7 MB / 0.5463 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4301, allocations: 81.19 kB / 0.5464 GB, free: 13.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8711/1.301, allocations: 221.2 MB / 0.7624 GB, free: 47.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.301, allocations: 0 / 0.7624 GB, free: 47.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003603/1.302, allocations: 151.1 kB / 0.7625 GB, free: 47.43 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.02025/1.322, allocations: 6.525 MB / 0.7689 GB, free: 45.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.322, allocations: 10.34 kB / 0.7689 GB, free: 45.26 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004288/1.326, allocations: 1.05 MB / 0.77 GB, free: 45.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/1.343, allocations: 3.039 MB / 0.7729 GB, free: 44.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/1.357, allocations: 5.593 MB / 0.7784 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/1.357, allocations: 475.6 kB / 0.7788 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/1.358, allocations: 0.6117 MB / 0.7794 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/1.373, allocations: 10.24 MB / 0.7894 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/1.373, allocations: 10.03 kB / 0.7895 GB, free: 43.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006331/1.374, allocations: 276.4 kB / 0.7897 GB, free: 43.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003502/1.374, allocations: 495.6 kB / 0.7902 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/1.389, allocations: 9.288 MB / 0.7993 GB, free: 41.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05079/1.439, allocations: 35.51 MB / 0.8339 GB, free: 20.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.453, allocations: 20.79 MB / 0.8542 GB, free: 0.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/1.454, allocations: 225.1 kB / 0.8544 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.454, allocations: 64.89 kB / 0.8545 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 5.631e-06/1.454, allocations: 0 / 0.8545 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.02617/1.48, allocations: 11.06 MB / 0.8653 GB, free: 7.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/1.48, allocations: 81.78 kB / 0.8654 GB, free: 7.512 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/1.485, allocations: 2.684 MB / 0.868 GB, free: 5.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002553/1.485, allocations: 73.7 kB / 0.8681 GB, free: 5.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.487, allocations: 2.853 MB / 0.8709 GB, free: 2.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009189/1.488, allocations: 1.036 MB / 0.8719 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/1.488, allocations: 92 kB / 0.872 GB, free: 1.586 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003251/1.489, allocations: 0.4894 MB / 0.8724 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005409/1.494, allocations: 2.222 MB / 0.8746 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/1.498, allocations: 3.677 MB / 0.8782 GB, free: 11.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/1.503, allocations: 2.821 MB / 0.881 GB, free: 9.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/1.503, allocations: 16 kB / 0.881 GB, free: 9.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01053/1.513, allocations: 6.57 MB / 0.8874 GB, free: 3.594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/1.513, allocations: 28.25 kB / 0.8874 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.153e-05/1.513, allocations: 59.95 kB / 0.8875 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/1.515, allocations: 0.6726 MB / 0.8881 GB, free: 2.996 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/1.519, allocations: 1.069 MB / 0.8892 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2643/1.783, allocations: 5.94 MB / 0.895 GB, free: 73.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/1.788, allocations: 307.4 kB / 0.8953 GB, free: 73.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007159/1.789, allocations: 227.5 kB / 0.8955 GB, free: 73.02 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.004259/1.793, allocations: 2.306 MB / 0.8977 GB, free: 72.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/1.794, allocations: 321.7 kB / 0.898 GB, free: 72.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007482/1.801, allocations: 4.623 MB / 0.9026 GB, free: 72.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.801, allocations: 31.91 kB / 0.9026 GB, free: 72.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.801, allocations: 7.312 kB / 0.9026 GB, free: 72.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/1.801, allocations: 16.31 kB / 0.9026 GB, free: 72.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.819, allocations: 11.13 MB / 0.9135 GB, free: 71.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.82, allocations: 4.125 kB / 0.9135 GB, free: 71.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.822, allocations: 0.5346 MB / 0.914 GB, free: 71.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/1.823, allocations: 0.5634 MB / 0.9146 GB, free: 71.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003293/1.824, allocations: 67.58 kB / 0.9146 GB, free: 71.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006977/1.831, allocations: 5.183 MB / 0.9197 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.831, allocations: 7.031 kB / 0.9197 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009706/1.841, allocations: 7.032 MB / 0.9266 GB, free: 69.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.843, allocations: 0.7484 MB / 0.9273 GB, free: 68.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006145/1.843, allocations: 60.98 kB / 0.9273 GB, free: 68.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.845, allocations: 157.7 kB / 0.9275 GB, free: 68.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/1.845, allocations: 213.4 kB / 0.9277 GB, free: 68.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.846, allocations: 88.83 kB / 0.9278 GB, free: 68.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003496/1.849, allocations: 1.981 MB / 0.9297 GB, free: 68.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.849, allocations: 0.6875 kB / 0.9297 GB, free: 68.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006539/1.856, allocations: 1.227 MB / 0.9309 GB, free: 68.72 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.009849/1.866, allocations: 8.948 MB / 0.9397 GB, free: 66.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008803/1.874, allocations: 5.001 MB / 0.9445 GB, free: 65.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.875, allocations: 3 kB / 0.9445 GB, free: 65.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.879, allocations: 2.251 MB / 0.9467 GB, free: 65.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.882, allocations: 0.5663 MB / 0.9473 GB, free: 65.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07431/1.956, 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.00648/1.963, allocations: 4.254 MB / 1.02 GB, free: 7.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005358/1.968, allocations: 1.403 MB / 1.021 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004269/1.973, allocations: 2.24 MB / 1.023 GB, free: 5.902 MB / 474.7 MB Notification: Performance of SimCode: time 2.484e-06/1.973, allocations: 0 / 1.023 GB, free: 5.902 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3975/2.37, allocations: 89.31 MB / 1.11 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/2.37, allocations: 200 kB / 1.111 GB, free: 100 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_Slip4.o HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4.c In file included from HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4_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_Slip4.c:7: In file included from ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4_model.h:24: ./HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4_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_Slip4_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_Slip4_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_Slip4_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_Slip4_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_Slip4_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_Slip4.o] Error 1