Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 198.6 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.31/1.31, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008908/0.0008906, allocations: 100.8 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002547, allocations: 8 kB / 358 MB, free: 9.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2687, allocations: 51.49 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.392, allocations: 96.98 MB / 0.4946 GB, free: 9.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.3922, allocations: 92.5 kB / 0.4947 GB, free: 9.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9956/1.388, allocations: 318.7 MB / 0.8059 GB, free: 36.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.487e-06/1.388, allocations: 0 / 0.8059 GB, free: 36.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006742/1.389, allocations: 195.8 kB / 0.8061 GB, free: 36.5 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02954/1.418, allocations: 8.086 MB / 0.814 GB, free: 28.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.418, allocations: 8.031 kB / 0.814 GB, free: 28.33 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005553/1.424, allocations: 1.286 MB / 0.8152 GB, free: 27.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/1.438, allocations: 2.608 MB / 0.8178 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/1.454, allocations: 5.534 MB / 0.8232 GB, free: 18.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007216/1.454, allocations: 0.6343 MB / 0.8238 GB, free: 18.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/1.458, allocations: 0.8281 MB / 0.8246 GB, free: 17.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04025/1.498, allocations: 13.6 MB / 0.8379 GB, free: 3.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004668/1.499, allocations: 15.89 kB / 0.8379 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003328/1.502, allocations: 368 kB / 0.8383 GB, free: 3.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009376/1.503, allocations: 0.6083 MB / 0.8389 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2924/1.795, allocations: 10.29 MB / 0.8489 GB, free: 58.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06562/1.861, allocations: 44.17 MB / 0.892 GB, free: 49.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008225/1.869, allocations: 10.53 MB / 0.9023 GB, free: 41.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/1.87, allocations: 217.1 kB / 0.9025 GB, free: 41.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.87, allocations: 57.91 kB / 0.9026 GB, free: 41.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=234): time 4.538e-06/1.87, allocations: 0 / 0.9026 GB, free: 41.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=234): time 0.007952/1.878, allocations: 5.154 MB / 0.9076 GB, free: 40.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/1.878, allocations: 77.75 kB / 0.9077 GB, free: 40.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/1.882, allocations: 2.615 MB / 0.9103 GB, free: 40.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.882, allocations: 61.36 kB / 0.9103 GB, free: 40.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.884, allocations: 3.831 MB / 0.9141 GB, free: 37.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006151/1.885, allocations: 0.8257 MB / 0.9149 GB, free: 37.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.885, allocations: 94.09 kB / 0.915 GB, free: 37.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/1.885, allocations: 0.4942 MB / 0.9154 GB, free: 36.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.888, allocations: 2.015 MB / 0.9174 GB, free: 36.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/1.892, allocations: 4.186 MB / 0.9215 GB, free: 32.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/1.895, allocations: 3.06 MB / 0.9245 GB, free: 31.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.011e-05/1.895, allocations: 24.06 kB / 0.9245 GB, free: 31.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.00902/1.904, allocations: 6.604 MB / 0.9309 GB, free: 29.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/1.904, allocations: 37.5 kB / 0.931 GB, free: 29.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/1.905, allocations: 74 kB / 0.9311 GB, free: 29.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000816/1.905, allocations: 422 kB / 0.9315 GB, free: 28.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/1.909, allocations: 1.076 MB / 0.9325 GB, free: 28.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/1.913, allocations: 4.157 MB / 0.9366 GB, free: 26.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/1.916, allocations: 0.6246 MB / 0.9372 GB, free: 26.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006102/1.917, allocations: 247.7 kB / 0.9374 GB, free: 25.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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 (574): * Single equations (assignments): 569 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006427/1.923, allocations: 3.372 MB / 0.9407 GB, free: 24.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006576/1.924, allocations: 272.6 kB / 0.941 GB, free: 24.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/1.929, allocations: 3.717 MB / 0.9446 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003502/1.933, allocations: 2.921 MB / 0.9474 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.933, allocations: 7.656 kB / 0.9475 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/1.933, allocations: 15.3 kB / 0.9475 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.951, allocations: 10.34 MB / 0.9576 GB, free: 17.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.951, allocations: 0 / 0.9576 GB, free: 17.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.953, allocations: 417.9 kB / 0.958 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006321/1.954, allocations: 316.8 kB / 0.9583 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/1.954, allocations: 55.12 kB / 0.9583 GB, free: 17.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/1.957, allocations: 3.985 MB / 0.9622 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.957, allocations: 0 / 0.9622 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006015/1.964, allocations: 5.305 MB / 0.9674 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.965, allocations: 0.6389 MB / 0.968 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/1.965, allocations: 36 kB / 0.968 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.966, allocations: 138.3 kB / 0.9682 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/1.967, allocations: 138.9 kB / 0.9683 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.967, allocations: 67.89 kB / 0.9684 GB, free: 10.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002474/1.969, allocations: 1.937 MB / 0.9703 GB, free: 8.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.969, allocations: 4.062 kB / 0.9703 GB, free: 8.746 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005591/1.975, allocations: 1.994 MB / 0.9722 GB, free: 6.754 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].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 (221): * Single equations (assignments): 216 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006631/1.981, allocations: 6.05 MB / 0.9781 GB, free: 1.418 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01128/1.993, allocations: 5.077 MB / 0.9831 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.993, allocations: 0.9375 kB / 0.9831 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/1.995, allocations: 1.797 MB / 0.9848 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.998, allocations: 0.6069 MB / 0.9854 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3083/2.306, allocations: 84.77 MB / 1.068 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007068/2.314, allocations: 5.789 MB / 1.074 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004109/2.318, allocations: 1.695 MB / 1.076 GB, free: 71.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003647/2.321, allocations: 2.678 MB / 1.078 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.093e-06/2.321, allocations: 0 / 1.078 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/2.437, allocations: 87.93 MB / 1.164 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/2.437, allocations: 213.9 kB / 1.164 GB, free: 44.67 MB / 0.4948 GB 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_TestSensors.o Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_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_TestSensors.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:24: ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:283:1: error: unknown type name '_omcQComplexOutput_24aronSensor_24powerSensor1_24apparentPower' _omcQComplexOutput_24aronSensor_24powerSensor1_24apparentPower omc__omcQComplexOutput_24aronSensor_24powerSensor1_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:292:1: error: unknown type name '_omcQComplexOutput_24aronSensor_24powerSensor3_24apparentPower' _omcQComplexOutput_24aronSensor_24powerSensor3_24apparentPower omc__omcQComplexOutput_24aronSensor_24powerSensor3_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:301:1: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i' _omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i omc__omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:310: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); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:319:1: error: unknown type name '_omcQComplexOutput_24reactivePowerSensor_24powerSensor1_24apparentPower' _omcQComplexOutput_24reactivePowerSensor_24powerSensor1_24apparentPower omc__omcQComplexOutput_24reactivePowerSensor_24powerSensor1_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:328:1: error: unknown type name '_omcQComplexOutput_24reactivePowerSensor_24powerSensor2_24apparentPower' _omcQComplexOutput_24reactivePowerSensor_24powerSensor2_24apparentPower omc__omcQComplexOutput_24reactivePowerSensor_24powerSensor2_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:337:1: error: unknown type name '_omcQComplexOutput_24reactivePowerSensor_24powerSensor3_24apparentPower' _omcQComplexOutput_24reactivePowerSensor_24powerSensor3_24apparentPower omc__omcQComplexOutput_24reactivePowerSensor_24powerSensor3_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:346:1: error: unknown type name '_omcQComplexOutput_24voltageQuasiRMSSensor_24voltageSensor_24v' _omcQComplexOutput_24voltageQuasiRMSSensor_24voltageSensor_24v omc__omcQComplexOutput_24voltageQuasiRMSSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 8 errors generated. make: *** [: Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.o] Error 1