Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 180.7 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.447/1.447, 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.0009574/0.0009576, allocations: 89.7 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002629, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2476, allocations: 50.41 MB / 401.6 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3637, allocations: 89.42 MB / 491 MB, free: 6.906 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.364, allocations: 85.17 kB / 491.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.464/0.8281, allocations: 135.7 MB / 0.6121 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.8281, allocations: 0 / 0.6121 GB, free: 13.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.8283, allocations: 87.88 kB / 0.6121 GB, free: 13.89 MB / 394.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.01168/0.84, allocations: 3.806 MB / 0.6159 GB, free: 10.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.84, allocations: 12.03 kB / 0.6159 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001812/0.8418, allocations: 0.5959 MB / 0.6165 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.8474, allocations: 0.9439 MB / 0.6174 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005211/0.8526, allocations: 2.427 MB / 0.6197 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.8529, allocations: 295.9 kB / 0.62 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007885/0.8537, allocations: 391.9 kB / 0.6204 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.8648, allocations: 5.884 MB / 0.6261 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.432e-05/0.8649, allocations: 3.953 kB / 0.6261 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004176/0.8653, allocations: 160 kB / 0.6263 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002787/0.8656, allocations: 276.5 kB / 0.6266 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008803/0.8744, allocations: 4.336 MB / 0.6308 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.8992, allocations: 18.64 MB / 0.649 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.9037, allocations: 3.908 MB / 0.6528 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.9039, allocations: 102.1 kB / 0.6529 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.904, allocations: 43.56 kB / 0.653 GB, free: 2.672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.917e-06/0.904, allocations: 0 / 0.653 GB, free: 2.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.002714/0.9067, allocations: 1.971 MB / 0.6549 GB, free: 0.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.9068, allocations: 72.3 kB / 0.655 GB, free: 0.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.9085, allocations: 1.195 MB / 0.6561 GB, free: 15.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.9085, allocations: 45.7 kB / 0.6562 GB, free: 15.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.9096, allocations: 1.753 MB / 0.6579 GB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.9099, allocations: 382.7 kB / 0.6582 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.91, allocations: 47.94 kB / 0.6583 GB, free: 13.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.9102, allocations: 443.1 kB / 0.6587 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.9115, allocations: 0.8631 MB / 0.6596 GB, free: 11.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.9133, allocations: 1.859 MB / 0.6614 GB, free: 9.422 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.9149, allocations: 1.31 MB / 0.6626 GB, free: 8.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.915, allocations: 8 kB / 0.6627 GB, free: 8.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004462/0.9194, allocations: 2.809 MB / 0.6654 GB, free: 5.289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.9195, allocations: 16 kB / 0.6654 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/0.9195, allocations: 36 kB / 0.6654 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-05/0.9196, allocations: 52 kB / 0.6655 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.9213, allocations: 0.5264 MB / 0.666 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.319e-05/0.9213, allocations: 71.72 kB / 0.6661 GB, free: 4.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.9226, allocations: 293.3 kB / 0.6664 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.9228, allocations: 112 kB / 0.6665 GB, free: 4.191 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.002589/0.9254, allocations: 1.488 MB / 0.6679 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.9256, allocations: 122.4 kB / 0.668 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.928, allocations: 1.548 MB / 0.6695 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2633/1.191, allocations: 1.105 MB / 0.6706 GB, free: 96.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.191, allocations: 1.172 kB / 0.6706 GB, free: 96.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.191, allocations: 5.844 kB / 0.6706 GB, free: 96.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/1.207, allocations: 12.47 MB / 0.6828 GB, free: 93.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/1.207, allocations: 20.78 kB / 0.6828 GB, free: 93.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/1.208, allocations: 221.9 kB / 0.683 GB, free: 93.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-05/1.208, allocations: 29.91 kB / 0.6831 GB, free: 93.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.208, allocations: 50.48 kB / 0.6831 GB, free: 93.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.019e-05/1.208, allocations: 45.22 kB / 0.6832 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.977e-05/1.208, allocations: 37.22 kB / 0.6832 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/1.212, allocations: 3.927 MB / 0.687 GB, free: 91.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/1.212, allocations: 240.9 kB / 0.6873 GB, free: 91.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.213, allocations: 51.48 kB / 0.6873 GB, free: 91.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/1.213, allocations: 69.7 kB / 0.6874 GB, free: 91.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.213, allocations: 144.4 kB / 0.6875 GB, free: 91.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/1.214, allocations: 63.44 kB / 0.6876 GB, free: 91.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001229/1.215, allocations: 0.892 MB / 0.6884 GB, free: 91.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.215, allocations: 0 / 0.6884 GB, free: 91.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003073/1.218, allocations: 0.8874 MB / 0.6893 GB, free: 90.91 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.004847/1.223, allocations: 10.84 MB / 0.6999 GB, free: 81.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002799/1.226, allocations: 1.944 MB / 0.7018 GB, free: 81.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.226, allocations: 7.438 kB / 0.7018 GB, free: 81.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008981/1.226, allocations: 0.6658 MB / 0.7025 GB, free: 81.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.228, allocations: 305.1 kB / 0.7027 GB, free: 81.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/1.257, allocations: 37.88 MB / 0.7397 GB, free: 52.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.259, allocations: 2.87 MB / 0.7425 GB, free: 51.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001936/1.261, allocations: 0.7691 MB / 0.7433 GB, free: 51.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.263, allocations: 1.128 MB / 0.7444 GB, free: 51.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.263, allocations: 0 / 0.7444 GB, free: 51.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05962/1.322, allocations: 37.61 MB / 0.7811 GB, free: 41.01 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/1.322, allocations: 194.2 kB / 0.7813 GB, free: 40.77 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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.c:7: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_model.h:24: ./Modelica_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.o] Error 1