Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 198.6 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.313/1.313, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008434/0.0008432, allocations: 99.14 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.00021, allocations: 4 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2185, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3303, allocations: 90.3 MB / 499.8 MB, free: 268 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.3305, allocations: 87.89 kB / 499.9 MB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4471/0.7776, allocations: 143.1 MB / 0.6279 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7776, allocations: 0 / 0.6279 GB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.7778, allocations: 87.81 kB / 0.628 GB, free: 11.46 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01227/0.7901, allocations: 3.841 MB / 0.6318 GB, free: 7.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.7902, allocations: 8.031 kB / 0.6318 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001851/0.792, allocations: 0.5843 MB / 0.6324 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.7974, allocations: 0.9595 MB / 0.6333 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006235/0.8036, allocations: 2.431 MB / 0.6357 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.8039, allocations: 295.9 kB / 0.636 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007795/0.8047, allocations: 387.9 kB / 0.6363 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.8151, allocations: 5.876 MB / 0.6421 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/0.8152, allocations: 3.906 kB / 0.6421 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.8156, allocations: 168 kB / 0.6422 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002838/0.8159, allocations: 272.5 kB / 0.6425 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00743/0.8233, allocations: 4.34 MB / 0.6467 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.8514, allocations: 18.88 MB / 0.6652 GB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004634/0.8561, allocations: 3.896 MB / 0.669 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.276/1.132, allocations: 192.5 kB / 0.6692 GB, free: 90.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/1.132, allocations: 46.97 kB / 0.6692 GB, free: 90.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 3.547e-06/1.132, allocations: 0 / 0.6692 GB, free: 90.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.003379/1.136, allocations: 1.978 MB / 0.6711 GB, free: 89.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/1.136, allocations: 65.25 kB / 0.6712 GB, free: 89.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.137, allocations: 1.2 MB / 0.6724 GB, free: 89.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/1.137, allocations: 43.27 kB / 0.6724 GB, free: 89.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000773/1.138, allocations: 1.749 MB / 0.6741 GB, free: 88.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/1.138, allocations: 386.7 kB / 0.6745 GB, free: 88.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/1.139, allocations: 39.06 kB / 0.6745 GB, free: 88.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/1.139, allocations: 443.5 kB / 0.6749 GB, free: 88.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/1.14, allocations: 0.8675 MB / 0.6758 GB, free: 88.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/1.141, allocations: 1.855 MB / 0.6776 GB, free: 87.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.143, allocations: 1.315 MB / 0.6789 GB, free: 87.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/1.143, allocations: 15.34 kB / 0.6789 GB, free: 87.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003637/1.147, allocations: 2.801 MB / 0.6816 GB, free: 86.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.147, allocations: 21.95 kB / 0.6817 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/1.147, allocations: 40.81 kB / 0.6817 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-05/1.147, allocations: 49.34 kB / 0.6817 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.148, allocations: 0.5289 MB / 0.6823 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.891e-05/1.148, allocations: 72.14 kB / 0.6823 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.15, allocations: 286 kB / 0.6826 GB, free: 86.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/1.15, allocations: 118.7 kB / 0.6827 GB, free: 86.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * 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.002509/1.153, allocations: 1.489 MB / 0.6842 GB, free: 86.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/1.153, allocations: 122.8 kB / 0.6843 GB, free: 86.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.155, allocations: 1.54 MB / 0.6858 GB, free: 86.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001248/1.156, allocations: 1.118 MB / 0.6869 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.156, allocations: 0 / 0.6869 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.156, allocations: 7.219 kB / 0.6869 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.172, allocations: 13.92 MB / 0.7005 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.299e-05/1.172, allocations: 22.47 kB / 0.7005 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/1.173, allocations: 221.5 kB / 0.7007 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.401e-05/1.173, allocations: 30.69 kB / 0.7007 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.081e-05/1.173, allocations: 50.72 kB / 0.7008 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-05/1.173, allocations: 41.45 kB / 0.7008 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.885e-05/1.173, allocations: 35.03 kB / 0.7009 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/1.176, allocations: 3.926 MB / 0.7047 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/1.177, allocations: 241.8 kB / 0.7049 GB, free: 79.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/1.177, allocations: 51.66 kB / 0.705 GB, free: 79.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/1.178, allocations: 69.83 kB / 0.705 GB, free: 79.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.178, allocations: 139 kB / 0.7052 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.178, allocations: 60.52 kB / 0.7052 GB, free: 79.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001328/1.18, allocations: 0.8922 MB / 0.7061 GB, free: 79.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.18, allocations: 4 kB / 0.7061 GB, free: 79.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003217/1.183, allocations: 0.8864 MB / 0.707 GB, free: 78.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor31.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 (107): * Single equations (assignments): 103 * 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.004751/1.188, allocations: 10.83 MB / 0.7176 GB, free: 69.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002838/1.19, allocations: 1.948 MB / 0.7195 GB, free: 69.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/1.191, allocations: 3.469 kB / 0.7195 GB, free: 69.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000812/1.191, allocations: 0.6675 MB / 0.7201 GB, free: 69.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.193, allocations: 308.8 kB / 0.7204 GB, free: 69.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.223, allocations: 37.87 MB / 0.7574 GB, free: 40.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/1.227, allocations: 2.87 MB / 0.7602 GB, free: 38.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002003/1.229, allocations: 0.7694 MB / 0.7609 GB, free: 38.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.23, allocations: 1.124 MB / 0.762 GB, free: 37.88 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/1.23, allocations: 0 / 0.762 GB, free: 37.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/1.288, allocations: 37.51 MB / 0.7987 GB, free: 20.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/1.288, allocations: 190.4 kB / 0.7988 GB, free: 19.79 MB / 442.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_BalancingDelta.o Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_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_BalancingDelta.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_model.h:24: ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_functions.h:273: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_BalancingDelta_functions.h:282: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_BalancingDelta_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24currentSensor12_24i' _omcQComplexOutput_24currentSensor12_24i omc__omcQComplexOutput_24currentSensor12_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24currentSensor23_24i' _omcQComplexOutput_24currentSensor23_24i omc__omcQComplexOutput_24currentSensor23_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensor31_24i' _omcQComplexOutput_24currentSensor31_24i omc__omcQComplexOutput_24currentSensor31_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_functions.h:318: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 6 errors generated. make: *** [: Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.o] Error 1