Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001598/0.001598, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.2 MB / 245 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008753/0.0008754, allocations: 107.3 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002381/0.0002381, allocations: 12 kB / 358 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2126, allocations: 51.48 MB / 409.5 MB, free: 26.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3256, allocations: 90.37 MB / 499.9 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3259, allocations: 85.69 kB / 500 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4597/0.7856, allocations: 161.2 MB / 0.6457 GB, free: 9.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7857, allocations: 0 / 0.6457 GB, free: 9.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.7858, allocations: 95.88 kB / 0.6458 GB, free: 9.078 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01129/0.7972, allocations: 4.221 MB / 0.6499 GB, free: 4.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.7972, allocations: 15.97 kB / 0.6499 GB, free: 4.773 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001425/0.7986, allocations: 0.6537 MB / 0.6505 GB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.8037, allocations: 0.9825 MB / 0.6515 GB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00579/0.8095, allocations: 2.728 MB / 0.6542 GB, free: 348 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.8098, allocations: 328.6 kB / 0.6545 GB, free: 16 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.8105, allocations: 424 kB / 0.6549 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.8215, allocations: 6.556 MB / 0.6613 GB, free: 8.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.75e-05/0.8216, allocations: 8 kB / 0.6613 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004126/0.822, allocations: 184 kB / 0.6615 GB, free: 8.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/0.8224, allocations: 325.3 kB / 0.6618 GB, free: 8.348 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008677/0.8311, allocations: 4.727 MB / 0.6664 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/1.131, allocations: 20.97 MB / 0.6869 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/1.137, allocations: 5.599 MB / 0.6923 GB, free: 71.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/1.137, allocations: 194.2 kB / 0.6925 GB, free: 71.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.137, allocations: 44.64 kB / 0.6926 GB, free: 71.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.296e-06/1.137, allocations: 0 / 0.6926 GB, free: 71.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.00225/1.14, allocations: 1.907 MB / 0.6944 GB, free: 71.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/1.14, allocations: 66.78 kB / 0.6945 GB, free: 70.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/1.141, allocations: 1.3 MB / 0.6958 GB, free: 70.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/1.141, allocations: 42.02 kB / 0.6958 GB, free: 70.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009019/1.142, allocations: 1.959 MB / 0.6977 GB, free: 69.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.142, allocations: 365.9 kB / 0.6981 GB, free: 69.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/1.143, allocations: 45.56 kB / 0.6981 GB, free: 69.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/1.143, allocations: 452.2 kB / 0.6985 GB, free: 69.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.144, allocations: 0.8536 MB / 0.6994 GB, free: 69.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.145, allocations: 1.964 MB / 0.7013 GB, free: 68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.147, allocations: 1.365 MB / 0.7026 GB, free: 67.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/1.147, allocations: 9.469 kB / 0.7026 GB, free: 67.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003393/1.15, allocations: 2.884 MB / 0.7055 GB, free: 67.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.15, allocations: 22.97 kB / 0.7055 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/1.15, allocations: 36.22 kB / 0.7055 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-05/1.15, allocations: 64.44 kB / 0.7056 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.152, allocations: 0.5376 MB / 0.7061 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.438e-05/1.152, allocations: 75.3 kB / 0.7062 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.153, allocations: 296.9 kB / 0.7065 GB, free: 67.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.153, allocations: 122.9 kB / 0.7066 GB, free: 67.74 MB / 442.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.002575/1.156, allocations: 1.664 MB / 0.7082 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.156, allocations: 133.6 kB / 0.7083 GB, free: 67.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/1.158, allocations: 1.466 MB / 0.7098 GB, free: 67.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001153/1.159, allocations: 1.034 MB / 0.7108 GB, free: 67.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.159, allocations: 0 / 0.7108 GB, free: 67.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.159, allocations: 3.562 kB / 0.7108 GB, free: 67.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.175, allocations: 13.57 MB / 0.724 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.175, allocations: 24.58 kB / 0.724 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/1.176, allocations: 211.4 kB / 0.7242 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.761e-05/1.176, allocations: 29.03 kB / 0.7243 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/1.176, allocations: 47.44 kB / 0.7243 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.592e-05/1.176, allocations: 38.19 kB / 0.7244 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/1.176, allocations: 33.5 kB / 0.7244 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/1.179, allocations: 3.79 MB / 0.7281 GB, free: 60.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/1.18, allocations: 339.6 kB / 0.7284 GB, free: 60.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/1.18, allocations: 50.83 kB / 0.7285 GB, free: 60.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/1.181, allocations: 62.16 kB / 0.7285 GB, free: 60.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.181, allocations: 135.7 kB / 0.7286 GB, free: 60.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/1.181, allocations: 55.34 kB / 0.7287 GB, free: 60.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001295/1.182, allocations: 0.9791 MB / 0.7297 GB, free: 60.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.182, allocations: 0 / 0.7297 GB, free: 60.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00286/1.185, allocations: 0.9657 MB / 0.7306 GB, free: 60.26 MB / 442.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.004071/1.189, allocations: 10.2 MB / 0.7406 GB, free: 51.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/1.192, allocations: 1.942 MB / 0.7425 GB, free: 51.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.192, allocations: 0 / 0.7425 GB, free: 51.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/1.193, allocations: 0.6421 MB / 0.7431 GB, free: 51.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.194, allocations: 352.5 kB / 0.7434 GB, free: 51.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/1.225, allocations: 42.36 MB / 0.7848 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/1.228, allocations: 3.139 MB / 0.7879 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001948/1.23, allocations: 0.8243 MB / 0.7887 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.231, allocations: 1.256 MB / 0.7899 GB, free: 12.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/1.231, allocations: 7.25 kB / 0.7899 GB, free: 12.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0687/1.3, allocations: 41.05 MB / 0.83 GB, free: 1.648 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.3, allocations: 197.8 kB / 0.8302 GB, free: 1.406 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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.o Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.c:7: In file included from ./Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_model.h:24: ./Modelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.o] Error 1