Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",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.001049/0.001049, allocations: 180.4 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.315/1.315, 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.0009268/0.0009266, allocations: 97.41 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002475, allocations: 11.98 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2632, allocations: 50.39 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.392, allocations: 104.4 MB / 0.4941 GB, free: 8.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.3923, allocations: 88.67 kB / 0.4942 GB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.871/3.264, allocations: 0.8064 GB / 1.301 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.224e-06/3.264, allocations: 0 / 1.301 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009554/3.265, allocations: 384.7 kB / 1.301 GB, free: 36.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06711/3.332, allocations: 16.56 MB / 1.317 GB, free: 31.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/3.332, allocations: 14.22 kB / 1.317 GB, free: 31.39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01748/3.349, allocations: 2.958 MB / 1.32 GB, free: 31.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0372/3.387, allocations: 6.087 MB / 1.326 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0364/3.423, allocations: 12.02 MB / 1.338 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001917/3.425, allocations: 1.251 MB / 1.339 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01026/3.435, allocations: 1.63 MB / 1.34 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08762/3.523, allocations: 28.42 MB / 1.368 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009789/3.524, allocations: 15.91 kB / 1.368 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008999/3.533, allocations: 0.7074 MB / 1.369 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/3.535, allocations: 1.308 MB / 1.37 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.475/4.01, allocations: 23.21 MB / 1.393 GB, free: 42.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1803/4.191, allocations: 87.16 MB / 1.478 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03004/4.221, allocations: 35.35 MB / 1.513 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/4.222, allocations: 207.1 kB / 1.513 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.443e-05/4.222, allocations: 96.94 kB / 1.513 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=613): time 7.945e-06/4.222, allocations: 1.031 kB / 1.513 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=613): time 0.04348/4.265, allocations: 17.79 MB / 1.53 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/4.265, allocations: 143.1 kB / 1.53 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/4.277, allocations: 5.727 MB / 1.536 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/4.278, allocations: 127.3 kB / 1.536 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006833/4.285, allocations: 7.561 MB / 1.543 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003577/4.288, allocations: 2.125 MB / 1.545 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/4.29, allocations: 208.8 kB / 1.546 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000912/4.291, allocations: 0.7549 MB / 1.546 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009635/4.3, allocations: 5.015 MB / 1.551 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01414/4.315, allocations: 9.57 MB / 1.561 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/4.329, allocations: 7.282 MB / 1.568 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000287/4.329, allocations: 44 kB / 1.568 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.3703/4.699, allocations: 16.23 MB / 1.584 GB, free: 81.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/4.699, allocations: 72.84 kB / 1.584 GB, free: 81.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002824/4.7, allocations: 161.7 kB / 1.584 GB, free: 81.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/4.703, allocations: 1.487 MB / 1.585 GB, free: 81.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008859/4.712, allocations: 2.326 MB / 1.588 GB, free: 81.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/4.729, allocations: 12.37 MB / 1.6 GB, free: 79.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/4.738, allocations: 1.362 MB / 1.601 GB, free: 79.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/4.741, allocations: 0.5373 MB / 1.602 GB, free: 79.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 725 * 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 (1248): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01473/4.755, allocations: 7.152 MB / 1.609 GB, free: 79.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/4.757, allocations: 0.6175 MB / 1.609 GB, free: 79.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/4.772, allocations: 10.61 MB / 1.62 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01145/4.784, allocations: 8.194 MB / 1.628 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/4.784, allocations: 12.56 kB / 1.628 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.467e-05/4.784, allocations: 35.47 kB / 1.628 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04515/4.829, allocations: 25.86 MB / 1.653 GB, free: 75.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/4.829, allocations: 8 kB / 1.653 GB, free: 75.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004123/4.833, allocations: 0.979 MB / 1.654 GB, free: 75.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/4.836, allocations: 1.277 MB / 1.655 GB, free: 75.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007919/4.837, allocations: 132.2 kB / 1.655 GB, free: 75.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/4.851, allocations: 11.96 MB / 1.667 GB, free: 71.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/4.851, allocations: 10.19 kB / 1.667 GB, free: 71.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/4.871, allocations: 15.71 MB / 1.682 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003983/4.875, allocations: 1.497 MB / 1.684 GB, free: 63.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/4.876, allocations: 108.9 kB / 1.684 GB, free: 63.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/4.879, allocations: 327.4 kB / 1.684 GB, free: 63.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007023/4.88, allocations: 409.8 kB / 1.684 GB, free: 63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/4.88, allocations: 170.8 kB / 1.685 GB, free: 62.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00615/4.887, allocations: 4.268 MB / 1.689 GB, free: 61.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/4.887, allocations: 0 / 1.689 GB, free: 61.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01351/4.9, allocations: 4.093 MB / 1.693 GB, free: 60.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 1 (currentSensorL.plug_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 (530): * Single equations (assignments): 509 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01948/4.92, allocations: 17.79 MB / 1.71 GB, free: 45.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0158/4.936, allocations: 11.84 MB / 1.722 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/4.936, allocations: 0 / 1.722 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007642/4.943, allocations: 4.982 MB / 1.727 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007315/4.951, allocations: 1.399 MB / 1.728 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4808/5.431, allocations: 194.6 MB / 1.918 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02067/5.452, allocations: 11.54 MB / 1.929 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01174/5.464, allocations: 3.929 MB / 1.933 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01197/5.476, allocations: 5.875 MB / 1.939 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/5.476, allocations: 0 / 1.939 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5684/6.044, allocations: 204.3 MB / 2.138 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/6.044, allocations: 231.5 kB / 2.138 GB, free: 140.9 MB / 0.6198 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_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_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_Machines_Examples_TransformerTestbench.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_model.h:24: ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:432:1: error: unknown type name '_omcQComplexOutput_24currentSensorL_24currentSensor_24i' _omcQComplexOutput_24currentSensorL_24currentSensor_24i omc__omcQComplexOutput_24currentSensorL_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:441:1: error: unknown type name '_omcQComplexOutput_24currentSensorL_24i' _omcQComplexOutput_24currentSensorL_24i omc__omcQComplexOutput_24currentSensorL_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:450:1: error: unknown type name '_omcQComplexOutput_24currentSensorS_24currentSensor_24i' _omcQComplexOutput_24currentSensorS_24currentSensor_24i omc__omcQComplexOutput_24currentSensorS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:459:1: error: unknown type name '_omcQComplexOutput_24currentSensorS_24i' _omcQComplexOutput_24currentSensorS_24i omc__omcQComplexOutput_24currentSensorS_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:468:1: error: unknown type name '_omcQComplexOutput_24electricalPowerSensorL_24powerSensor_24apparentPower' _omcQComplexOutput_24electricalPowerSensorL_24powerSensor_24apparentPower omc__omcQComplexOutput_24electricalPowerSensorL_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:477:1: error: unknown type name '_omcQComplexOutput_24electricalPowerSensorS_24powerSensor_24apparentPower' _omcQComplexOutput_24electricalPowerSensorS_24powerSensor_24apparentPower omc__omcQComplexOutput_24electricalPowerSensorS_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:486:1: error: unknown type name '_omcQComplexOutput_24voltageSensorL_24v' _omcQComplexOutput_24voltageSensorL_24v omc__omcQComplexOutput_24voltageSensorL_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:495:1: error: unknown type name '_omcQComplexOutput_24voltageSensorL_24voltageSensor_24v' _omcQComplexOutput_24voltageSensorL_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensorL_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:504:1: error: unknown type name '_omcQComplexOutput_24voltageSensorS_24v' _omcQComplexOutput_24voltageSensorS_24v omc__omcQComplexOutput_24voltageSensorS_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_functions.h:513:1: error: unknown type name '_omcQComplexOutput_24voltageSensorS_24voltageSensor_24v' _omcQComplexOutput_24voltageSensorS_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensorS_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 10 errors generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.o] Error 1