Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001346/0.001346, allocations: 203.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008069/0.0008068, allocations: 107.1 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002084, allocations: 4 kB / 358 MB, free: 9.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2173, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.328, allocations: 90.42 MB / 499.9 MB, free: 140 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3282, allocations: 89.7 kB / 0.4883 GB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.887/1.215, allocations: 221.2 MB / 0.7043 GB, free: 68.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.215, allocations: 0 / 0.7043 GB, free: 68.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004171/1.216, allocations: 129.6 kB / 0.7044 GB, free: 68.9 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02139/1.237, allocations: 6.103 MB / 0.7103 GB, free: 67.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.237, allocations: 7.562 kB / 0.7104 GB, free: 67.04 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003834/1.241, allocations: 1.041 MB / 0.7114 GB, free: 66.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/1.254, allocations: 2.096 MB / 0.7134 GB, free: 66.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/1.264, allocations: 3.847 MB / 0.7172 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/1.264, allocations: 458.1 kB / 0.7176 GB, free: 66.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/1.266, allocations: 0.5895 MB / 0.7182 GB, free: 66.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/1.289, allocations: 9.214 MB / 0.7272 GB, free: 65.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/1.289, allocations: 13.91 kB / 0.7272 GB, free: 65.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/1.29, allocations: 252 kB / 0.7274 GB, free: 65.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003941/1.291, allocations: 461.5 kB / 0.7279 GB, free: 65.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/1.303, allocations: 7.277 MB / 0.735 GB, free: 64.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/1.34, allocations: 29.18 MB / 0.7635 GB, free: 49.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00773/1.347, allocations: 11.76 MB / 0.775 GB, free: 38.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/1.348, allocations: 218.4 kB / 0.7752 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.348, allocations: 62.77 kB / 0.7752 GB, free: 37.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 3.907e-06/1.348, allocations: 4 kB / 0.7752 GB, free: 37.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.006577/1.354, allocations: 4.788 MB / 0.7799 GB, free: 33.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.354, allocations: 103.1 kB / 0.78 GB, free: 33.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.356, allocations: 1.697 MB / 0.7817 GB, free: 31.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.356, allocations: 69.7 kB / 0.7817 GB, free: 31.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/1.357, allocations: 2.532 MB / 0.7842 GB, free: 29.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/1.358, allocations: 0.8521 MB / 0.785 GB, free: 28.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.358, allocations: 68 kB / 0.7851 GB, free: 28.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/1.358, allocations: 458.2 kB / 0.7855 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/1.36, allocations: 1.451 MB / 0.787 GB, free: 27.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.362, allocations: 2.641 MB / 0.7895 GB, free: 24.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/1.364, allocations: 2.054 MB / 0.7915 GB, free: 22.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.364, allocations: 12 kB / 0.7916 GB, free: 22.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005301/1.369, allocations: 4.621 MB / 0.7961 GB, free: 18.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.369, allocations: 23.94 kB / 0.7961 GB, free: 18.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/1.369, allocations: 40 kB / 0.7961 GB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/1.37, allocations: 312.9 kB / 0.7964 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/1.372, allocations: 0.7739 MB / 0.7972 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/1.376, allocations: 4.688 MB / 0.8018 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.378, allocations: 413.6 kB / 0.8022 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/1.378, allocations: 163.9 kB / 0.8023 GB, free: 12.16 MB / 442.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.004125/1.383, allocations: 2.189 MB / 0.8045 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004326/1.383, allocations: 213.3 kB / 0.8047 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/1.388, allocations: 3.328 MB / 0.8079 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.388, allocations: 35.94 kB / 0.8079 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.388, allocations: 4 kB / 0.8079 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.388, allocations: 11.62 kB / 0.808 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.404, allocations: 12.64 MB / 0.8203 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.404, allocations: 12.94 kB / 0.8203 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.406, allocations: 432.3 kB / 0.8207 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/1.407, allocations: 278.8 kB / 0.821 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.407, allocations: 71.64 kB / 0.8211 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004978/1.412, allocations: 4.608 MB / 0.8256 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/1.412, allocations: 23.88 kB / 0.8256 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008037/1.42, allocations: 6.058 MB / 0.8315 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008027/1.421, allocations: 337.1 kB / 0.8318 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/1.421, allocations: 59 kB / 0.8319 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.422, allocations: 122.4 kB / 0.832 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/1.423, allocations: 213 kB / 0.8322 GB, free: 0 / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/1.423, allocations: 110.9 kB / 0.8323 GB, free: 15.97 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00186/1.425, allocations: 1.271 MB / 0.8335 GB, free: 14.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.425, allocations: 0 / 0.8335 GB, free: 14.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00409/1.429, allocations: 1.469 MB / 0.835 GB, free: 13.23 MB / 474.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.008987/1.438, allocations: 10.46 MB / 0.8452 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2124/1.65, allocations: 3.743 MB / 0.8488 GB, free: 94.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/1.651, allocations: 7.781 kB / 0.8488 GB, free: 94.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.653, allocations: 1.76 MB / 0.8506 GB, free: 94.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.656, allocations: 458.7 kB / 0.851 GB, free: 94.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04597/1.702, allocations: 50.39 MB / 0.9002 GB, free: 59.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/1.706, allocations: 4.109 MB / 0.9042 GB, free: 58.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003294/1.709, allocations: 1.21 MB / 0.9054 GB, free: 58.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.712, allocations: 1.915 MB / 0.9073 GB, free: 58.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/1.712, allocations: 0 / 0.9073 GB, free: 58.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09013/1.802, allocations: 63.29 MB / 0.9691 GB, free: 42.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.802, allocations: 216.7 kB / 0.9693 GB, free: 41.86 MB / 474.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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.o Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.c:7: In file included from ./Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_model.h:24: ./Modelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.o] Error 1