Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",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.001037/0.001037, allocations: 180.2 kB / 16.38 MB, free: 5.762 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.419/1.419, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009148/0.000915, allocations: 94.48 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 8 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2623, allocations: 50.4 MB / 401.6 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3725, allocations: 89.5 MB / 491.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.3728, allocations: 87.95 kB / 491.2 MB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4972/0.8701, allocations: 152.7 MB / 0.6288 GB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.8701, allocations: 0 / 0.6288 GB, free: 12.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.8703, allocations: 91.94 kB / 0.6289 GB, free: 12.83 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01249/0.8828, allocations: 4.201 MB / 0.633 GB, free: 8.562 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.8829, allocations: 8.031 kB / 0.633 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002348/0.8853, allocations: 0.6498 MB / 0.6336 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005738/0.891, allocations: 0.9747 MB / 0.6346 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005475/0.8965, allocations: 2.728 MB / 0.6373 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.8968, allocations: 324.7 kB / 0.6376 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009013/0.8977, allocations: 412 kB / 0.638 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.9114, allocations: 6.576 MB / 0.6444 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.9116, allocations: 3.906 kB / 0.6444 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009714/0.9126, allocations: 184 kB / 0.6446 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/0.913, allocations: 325.4 kB / 0.6449 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.9234, allocations: 4.73 MB / 0.6495 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/1.189, allocations: 20.72 MB / 0.6697 GB, free: 67.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004907/1.194, allocations: 5.597 MB / 0.6752 GB, free: 62.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.194, allocations: 105.8 kB / 0.6753 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.194, allocations: 43 kB / 0.6753 GB, free: 62.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 3.166e-06/1.194, allocations: 0 / 0.6753 GB, free: 62.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.002505/1.196, allocations: 1.905 MB / 0.6772 GB, free: 62.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.197, allocations: 64.91 kB / 0.6773 GB, free: 62.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.198, allocations: 1.302 MB / 0.6785 GB, free: 61.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/1.198, allocations: 40.23 kB / 0.6786 GB, free: 61.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.199, allocations: 1.957 MB / 0.6805 GB, free: 61.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/1.2, allocations: 368.8 kB / 0.6808 GB, free: 60.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/1.2, allocations: 47.75 kB / 0.6809 GB, free: 60.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/1.2, allocations: 454.2 kB / 0.6813 GB, free: 60.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.201, allocations: 0.8521 MB / 0.6821 GB, free: 60.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/1.203, allocations: 1.977 MB / 0.6841 GB, free: 59.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/1.205, allocations: 1.352 MB / 0.6854 GB, free: 59.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.521e-05/1.205, allocations: 11.28 kB / 0.6854 GB, free: 59.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004223/1.21, allocations: 2.882 MB / 0.6882 GB, free: 59.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/1.21, allocations: 25.97 kB / 0.6882 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.145e-05/1.21, allocations: 37.22 kB / 0.6883 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-05/1.21, allocations: 62.56 kB / 0.6883 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.212, allocations: 0.5311 MB / 0.6889 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.56e-05/1.212, allocations: 75.64 kB / 0.6889 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.213, allocations: 300.8 kB / 0.6892 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.214, allocations: 123.1 kB / 0.6893 GB, free: 58.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003116/1.217, allocations: 1.663 MB / 0.691 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/1.217, allocations: 134.8 kB / 0.6911 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/1.219, allocations: 1.468 MB / 0.6925 GB, free: 58.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001282/1.22, allocations: 1.038 MB / 0.6935 GB, free: 58.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.22, allocations: 0 / 0.6935 GB, free: 58.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.22, allocations: 7.688 kB / 0.6935 GB, free: 58.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.235, allocations: 12.28 MB / 0.7055 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.235, allocations: 21.62 kB / 0.7056 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/1.236, allocations: 209.6 kB / 0.7058 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-05/1.236, allocations: 36.44 kB / 0.7058 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/1.236, allocations: 43.81 kB / 0.7058 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/1.236, allocations: 42.75 kB / 0.7059 GB, free: 55.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-05/1.236, allocations: 29.12 kB / 0.7059 GB, free: 55.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/1.24, allocations: 3.792 MB / 0.7096 GB, free: 53.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/1.24, allocations: 346.5 kB / 0.7099 GB, free: 53.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.24, allocations: 43.5 kB / 0.71 GB, free: 53.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/1.241, allocations: 64.8 kB / 0.71 GB, free: 53.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.241, allocations: 131 kB / 0.7102 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/1.241, allocations: 55.69 kB / 0.7102 GB, free: 53.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001364/1.243, allocations: 0.9784 MB / 0.7112 GB, free: 53.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.243, allocations: 0 / 0.7112 GB, free: 53.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003135/1.246, allocations: 0.9616 MB / 0.7121 GB, free: 52.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004561/1.25, allocations: 10.21 MB / 0.7221 GB, free: 44.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002931/1.253, allocations: 1.934 MB / 0.724 GB, free: 44.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.253, allocations: 9.438 kB / 0.724 GB, free: 44.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/1.254, allocations: 0.6351 MB / 0.7246 GB, free: 44.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/1.256, allocations: 353.9 kB / 0.7249 GB, free: 44.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.288, allocations: 42.34 MB / 0.7663 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/1.291, allocations: 3.141 MB / 0.7694 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00198/1.293, allocations: 0.8261 MB / 0.7702 GB, free: 8.258 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.294, allocations: 1.254 MB / 0.7714 GB, free: 7.191 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.294, allocations: 0 / 0.7714 GB, free: 7.191 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08022/1.374, allocations: 41.63 MB / 0.812 GB, free: 11.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.375, allocations: 197.4 kB / 0.8122 GB, free: 11.05 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_BalancingStar.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_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_BalancingStar.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_model.h:24: ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_functions.h:263:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_functions.h:272:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_functions.h:281:1: error: unknown type name '_omcQComplexOutput_24currentSensor0_24i' _omcQComplexOutput_24currentSensor0_24i omc__omcQComplexOutput_24currentSensor0_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_functions.h:290:1: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 4 errors generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.o] Error 1