Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.699/1.699, allocations: 194.9 MB / 202.6 MB, free: 6.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2139/1.913, allocations: 46.85 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/2.002, allocations: 44.51 MB / 293.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/2.406, allocations: 155.5 MB / 449.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/2.407, allocations: 102.1 kB / 449.5 MB, free: 15.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3594 * Number of variables: 3594 Notification: Performance of Generate backend data structure: time 1.889/4.296, allocations: 402.7 MB / 0.8322 GB, free: 16.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/4.296, allocations: 6.875 kB / 0.8322 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06533/4.361, allocations: 6.04 MB / 0.8381 GB, free: 16.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03782/4.399, allocations: 9.678 MB / 0.8476 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/4.4, allocations: 426 kB / 0.848 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005904/4.406, allocations: 0.7305 MB / 0.8487 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05589/4.462, allocations: 16.69 MB / 0.865 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06922/4.532, allocations: 18.92 MB / 0.8835 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007761/4.532, allocations: 28.73 kB / 0.8835 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005033/4.537, allocations: 6.5 kB / 0.8835 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001121/4.539, allocations: 0.88 MB / 0.8844 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2023/4.741, allocations: 67.21 MB / 0.95 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3977/5.139, allocations: 8.397 MB / 0.9582 GB, free: 76.22 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02122/5.16, allocations: 7.798 MB / 0.9658 GB, free: 76.12 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0837/5.244, allocations: 26.37 MB / 0.9916 GB, free: 74.65 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.52e-05/5.244, allocations: 114.3 kB / 0.9917 GB, free: 74.61 MB / 442.8 MB Notification: Performance of pre-optimization done (n=878): time 1.591e-05/5.244, allocations: 3.969 kB / 0.9917 GB, free: 74.61 MB / 442.8 MB Notification: Performance of matching and sorting (n=922): time 0.1047/5.349, allocations: 30.14 MB / 1.021 GB, free: 72.68 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/5.349, allocations: 136.3 kB / 1.021 GB, free: 72.61 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008754/5.357, allocations: 3.331 MB / 1.024 GB, free: 72.25 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001986/5.36, allocations: 28.92 kB / 1.025 GB, free: 72.22 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00283/5.362, allocations: 4.346 MB / 1.029 GB, free: 69.17 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004772/5.367, allocations: 2.945 MB / 1.032 GB, free: 66.84 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/5.368, allocations: 3.031 kB / 1.032 GB, free: 66.84 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0009664/5.369, allocations: 0.7091 MB / 1.032 GB, free: 66.36 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01619/5.386, allocations: 5.746 MB / 1.038 GB, free: 64.02 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01859/5.404, allocations: 8.246 MB / 1.046 GB, free: 58.65 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02316/5.427, allocations: 7.469 MB / 1.053 GB, free: 55.84 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/5.428, allocations: 24.09 kB / 1.053 GB, free: 55.84 MB / 442.8 MB Notification: Performance of matching and sorting (n=1281) (initialization): time 0.0551/5.483, allocations: 17.11 MB / 1.07 GB, free: 49.66 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/5.483, allocations: 5.125 kB / 1.07 GB, free: 49.66 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/5.483, allocations: 76.25 kB / 1.07 GB, free: 49.66 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01464/5.498, allocations: 4.113 MB / 1.074 GB, free: 48.41 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01877/5.516, allocations: 1.879 MB / 1.076 GB, free: 48.35 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02449/5.541, allocations: 12.69 MB / 1.088 GB, free: 40.42 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0131/5.554, allocations: 280.9 kB / 1.089 GB, free: 40.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002863/5.557, allocations: 434.2 kB / 1.089 GB, free: 40.32 MB / 442.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (983): * Single equations (assignments): 927 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.003851/5.561, allocations: 440.7 kB / 1.089 GB, free: 40.14 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00233/5.563, allocations: 0.6079 MB / 1.09 GB, free: 39.77 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05206/5.615, allocations: 16 MB / 1.106 GB, free: 26.24 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000264/5.616, allocations: 207.4 kB / 1.106 GB, free: 26.06 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/5.616, allocations: 0 / 1.106 GB, free: 26.06 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001618/5.616, allocations: 39.08 kB / 1.106 GB, free: 26.06 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2911/5.907, allocations: 31.33 MB / 1.136 GB, free: 65.25 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001132/5.907, allocations: 3.812 kB / 1.136 GB, free: 65.25 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01442/5.922, allocations: 1.244 MB / 1.138 GB, free: 65.25 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01434/5.936, allocations: 3.973 MB / 1.142 GB, free: 65.14 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002037/5.938, allocations: 87.73 kB / 1.142 GB, free: 65.14 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/5.961, allocations: 12.52 MB / 1.154 GB, free: 60.7 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/5.961, allocations: 8.531 kB / 1.154 GB, free: 60.7 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0671/6.028, allocations: 24.4 MB / 1.178 GB, free: 59.4 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08774/6.116, allocations: 33.77 MB / 1.211 GB, free: 56.75 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00778/6.124, allocations: 1.895 MB / 1.213 GB, free: 56.04 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003011/6.127, allocations: 12.92 kB / 1.213 GB, free: 56.04 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009941/6.137, allocations: 202.1 kB / 1.213 GB, free: 56.04 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002932/6.14, allocations: 0.5868 MB / 1.213 GB, free: 55.91 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001331/6.141, allocations: 241.8 kB / 1.214 GB, free: 55.86 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.006542/6.148, allocations: 2.422 MB / 1.216 GB, free: 54.89 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01496/6.163, allocations: 2.065 MB / 1.218 GB, free: 54.83 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (658): * Single equations (assignments): 602 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002905/6.166, allocations: 0.5699 MB / 1.219 GB, free: 54.71 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04104/6.207, allocations: 14.35 MB / 1.233 GB, free: 49.25 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/6.207, allocations: 3.5 kB / 1.233 GB, free: 49.25 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02297/6.23, allocations: 7.427 MB / 1.24 GB, free: 46.26 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/6.242, allocations: 0.9851 MB / 1.241 GB, free: 46.04 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07972/6.322, allocations: 23.14 MB / 1.263 GB, free: 36.36 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02374/6.345, allocations: 8.665 MB / 1.272 GB, free: 29.84 MB / 442.8 MB Notification: Performance of SimCode: time 2.134e-06/6.345, allocations: 0 / 1.272 GB, free: 29.84 MB / 442.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Modelica_3.2.2_cs_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource/Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.fmutmp/sources' clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_FMU.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_FMU.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_functions.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_functions.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_records.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_records.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_01exo.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_01exo.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_02nls.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_02nls.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_03lsy.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_03lsy.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_04set.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_04set.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_05evt.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_05evt.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:65:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp3 = $Pu$lB1$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:66:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp4 = $Pu$lB1$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:67:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp5 = $Pu$lB2$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:68:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp6 = $Pu$lB2$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:69:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp7 = $Pu$lB3$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:70:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp8 = $Pu$lB3$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:90:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp9 = $Pu$lB1$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:91:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp10 = $Pu$lB1$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:92:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp11 = $Pu$lB2$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:93:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp12 = $Pu$lB2$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:94:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp13 = $Pu$lB3$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:95:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp14 = $Pu$lB3$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:153:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp18 = $Pu$lB1$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:154:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp19 = $Pu$lB1$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:155:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp20 = $Pu$lB2$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:156:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp21 = $Pu$lB2$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:157:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp22 = $Pu$lB3$rB$Pre; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:158:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp23 = $Pu$lB3$rB$Pim; ^ Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.c:178:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp24 = $Pu$lB1$rB$Pre; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.o' failed make: *** [Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Modelica_3.2.2_cs_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource/Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... -Wl,-Bstatic -llapack -lblas -Wl,-Bdynamic checking for static pthreads... OK (static) checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.def Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.a Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.so Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_FMU.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_functions.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_records.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_01exo.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_02nls.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_03lsy.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_04set.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_05evt.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_06inz.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_07dly.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_08bnd.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_09alg.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_10asr.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_11mix.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_12jac.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_13opt.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_14lnz.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_15syn.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_16dae.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_17inl.o Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_init_fmu.o