Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",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.001594/0.001594, allocations: 181.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009812/0.0009811, allocations: 103.4 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002746, allocations: 11.94 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2623, allocations: 50.4 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.3795, allocations: 89.55 MB / 491.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.3798, allocations: 91.94 kB / 491.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8858/1.266, allocations: 209.4 MB / 0.6842 GB, free: 61.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.266, allocations: 4 kB / 0.6843 GB, free: 61.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004919/1.266, allocations: 135.8 kB / 0.6844 GB, free: 61.11 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02452/1.291, allocations: 6.061 MB / 0.6903 GB, free: 59.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.291, allocations: 7.312 kB / 0.6903 GB, free: 59.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005074/1.296, allocations: 1.043 MB / 0.6913 GB, free: 59.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/1.31, allocations: 2.099 MB / 0.6934 GB, free: 58.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/1.323, allocations: 3.831 MB / 0.6971 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006873/1.324, allocations: 467.3 kB / 0.6976 GB, free: 58.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/1.327, allocations: 0.5852 MB / 0.6981 GB, free: 58.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/1.356, allocations: 9.214 MB / 0.7071 GB, free: 57.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/1.356, allocations: 7.344 kB / 0.7071 GB, free: 57.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/1.357, allocations: 261.5 kB / 0.7074 GB, free: 57.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000623/1.358, allocations: 466.2 kB / 0.7078 GB, free: 57.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/1.38, allocations: 7.275 MB / 0.7149 GB, free: 57.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07389/1.454, allocations: 28.69 MB / 0.743 GB, free: 43.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/1.47, allocations: 11.75 MB / 0.7544 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/1.47, allocations: 138 kB / 0.7546 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.899e-05/1.47, allocations: 59.81 kB / 0.7546 GB, free: 32.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 9.578e-06/1.47, allocations: 0 / 0.7546 GB, free: 32.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.01439/1.485, allocations: 4.795 MB / 0.7593 GB, free: 28.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/1.485, allocations: 106.7 kB / 0.7594 GB, free: 28.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/1.49, allocations: 1.685 MB / 0.761 GB, free: 27.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004741/1.491, allocations: 69.7 kB / 0.7611 GB, free: 27.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001997/1.493, allocations: 2.533 MB / 0.7636 GB, free: 25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.494, allocations: 0.8524 MB / 0.7644 GB, free: 24.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/1.494, allocations: 72 kB / 0.7645 GB, free: 24.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000323/1.495, allocations: 457.4 kB / 0.7649 GB, free: 23.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/1.498, allocations: 1.449 MB / 0.7663 GB, free: 22.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004217/1.502, allocations: 2.641 MB / 0.7689 GB, free: 19.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004359/1.507, allocations: 2.062 MB / 0.7709 GB, free: 17.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/1.507, allocations: 12 kB / 0.7709 GB, free: 17.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0107/1.518, allocations: 4.618 MB / 0.7755 GB, free: 13.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/1.518, allocations: 20 kB / 0.7755 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.775e-05/1.518, allocations: 40 kB / 0.7755 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/1.519, allocations: 319.1 kB / 0.7758 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/1.523, allocations: 0.7719 MB / 0.7766 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/1.53, allocations: 4.693 MB / 0.7811 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/1.534, allocations: 409.8 kB / 0.7815 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/1.535, allocations: 167 kB / 0.7817 GB, free: 7.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00606/1.541, allocations: 2.19 MB / 0.7838 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009105/1.542, allocations: 209.4 kB / 0.784 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008828/1.551, allocations: 3.329 MB / 0.7873 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/1.551, allocations: 39.03 kB / 0.7873 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/1.551, allocations: 4 kB / 0.7873 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/1.551, allocations: 11.86 kB / 0.7873 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/1.579, allocations: 11.78 MB / 0.7988 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/1.579, allocations: 12 kB / 0.7989 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.581, allocations: 433.7 kB / 0.7993 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/1.582, allocations: 276.8 kB / 0.7995 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.582, allocations: 67.89 kB / 0.7996 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005302/1.587, allocations: 4.613 MB / 0.8041 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/1.587, allocations: 15.94 kB / 0.8041 GB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.597, allocations: 6.059 MB / 0.81 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008511/1.598, allocations: 333.5 kB / 0.8104 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005757/1.599, allocations: 67.8 kB / 0.8104 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/1.601, allocations: 125.1 kB / 0.8105 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/1.601, allocations: 194.9 kB / 0.8107 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.601, allocations: 91.88 kB / 0.8108 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002321/1.604, allocations: 1.278 MB / 0.8121 GB, free: 11.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.604, allocations: 0 / 0.8121 GB, free: 11.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004758/1.608, allocations: 1.453 MB / 0.8135 GB, free: 10 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.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 (230): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2845/1.893, allocations: 10.51 MB / 0.8238 GB, free: 86.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006905/1.9, allocations: 3.751 MB / 0.8274 GB, free: 86.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/1.9, allocations: 3.625 kB / 0.8274 GB, free: 86.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/1.902, allocations: 1.756 MB / 0.8291 GB, free: 85.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.905, allocations: 466.4 kB / 0.8296 GB, free: 85.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04685/1.952, allocations: 50.38 MB / 0.8788 GB, free: 50.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/1.956, allocations: 4.101 MB / 0.8828 GB, free: 49.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003372/1.959, allocations: 1.206 MB / 0.884 GB, free: 49.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002635/1.962, allocations: 1.923 MB / 0.8858 GB, free: 49.71 MB / 458.7 MB Notification: Performance of SimCode: time 8.917e-06/1.962, allocations: 3 kB / 0.8858 GB, free: 49.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/2.066, allocations: 63.24 MB / 0.9476 GB, free: 28.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/2.066, allocations: 225.2 kB / 0.9478 GB, free: 28.63 MB / 458.7 MB 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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_model.h:24: ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_functions.h:273:1: error: unknown type name '_omcQComplexOutput_24currentSensor1_24currentSensor_24i' _omcQComplexOutput_24currentSensor1_24currentSensor_24i omc__omcQComplexOutput_24currentSensor1_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_functions.h:282:1: error: unknown type name '_omcQComplexOutput_24currentSensor1_24i' _omcQComplexOutput_24currentSensor1_24i omc__omcQComplexOutput_24currentSensor1_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24currentSensor2_24currentSensor_24i' _omcQComplexOutput_24currentSensor2_24currentSensor_24i omc__omcQComplexOutput_24currentSensor2_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24currentSensor2_24i' _omcQComplexOutput_24currentSensor2_24i omc__omcQComplexOutput_24currentSensor2_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensorN_24i' _omcQComplexOutput_24currentSensorN_24i omc__omcQComplexOutput_24currentSensorN_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_functions.h:318:1: error: unknown type name '_omcQComplexOutput_24voltageSensorN_24v' _omcQComplexOutput_24voltageSensorN_24v omc__omcQComplexOutput_24voltageSensorN_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 6 errors generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.o] Error 1