Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008888, allocations: 94.55 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2767/0.2767, allocations: 38.07 MB / 330.3 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.000274, allocations: 8 kB / 400.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2733, allocations: 59.16 MB / 459.2 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.007408/0.2807, allocations: 7.154 MB / 466.4 MB, free: 25.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.2888, allocations: 5.002 MB / 471.4 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2903, allocations: 49.09 kB / 471.4 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005898/0.2962, allocations: 1.927 MB / 473.3 MB, free: 21.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.2979, allocations: 448.7 kB / 473.8 MB, free: 20.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2993, allocations: 470.5 kB / 474.2 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.3006, allocations: 0.9426 MB / 475.2 MB, free: 20.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.302, allocations: 1.044 MB / 476.2 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.3027, allocations: 0.5133 MB / 476.7 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006437/0.3033, allocations: 0.6025 MB / 477.3 MB, free: 19.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3035, allocations: 56.59 kB / 477.4 MB, free: 19.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.3038, allocations: 102.8 kB / 477.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.3041, allocations: 412.9 kB / 477.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3044, allocations: 251.8 kB / 478.2 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3054, allocations: 1.461 MB / 479.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3054, allocations: 0 / 479.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3054, allocations: 1.094 kB / 479.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3054, allocations: 0 / 479.6 MB, free: 17.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.002834/0.3083, allocations: 1.473 MB / 481.1 MB, free: 16.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3083, allocations: 13.88 kB / 481.1 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.3085, allocations: 144.3 kB / 481.2 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.3089, allocations: 146.8 kB / 481.4 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.3109, allocations: 1.019 MB / 482.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.3109, allocations: 68.89 kB / 482.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.3111, allocations: 91.59 kB / 482.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.3129, allocations: 1.326 MB / 483.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.3129, allocations: 12.88 kB / 483.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.313, allocations: 36.34 kB / 483.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/0.3133, allocations: 93.77 kB / 484 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.3149, allocations: 1.142 MB / 485.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005661/0.3206, allocations: 4.953 MB / 490.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3216, allocations: 0.9586 MB / 491.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.794e-05/0.3217, allocations: 12.66 kB / 491.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007483/0.3225, allocations: 0.6216 MB / 491.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.584e-06/0.3225, allocations: 3.938 kB / 491.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=81): time 0.007812/0.3303, allocations: 4.372 MB / 496.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.3304, allocations: 162.9 kB / 496.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.3314, allocations: 0.8332 MB / 497.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.3315, allocations: 41.7 kB / 497.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.3318, allocations: 0.5268 MB / 497.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.332, allocations: 291.8 kB / 497.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.3321, allocations: 20 kB / 498 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3322, allocations: 341.9 kB / 498.3 MB, free: 220 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.3329, allocations: 477.7 kB / 498.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.3337, allocations: 0.7091 MB / 499.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/0.3346, allocations: 0.5652 MB / 0.4883 GB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3346, allocations: 4 kB / 0.4883 GB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.008287/0.3429, allocations: 3.03 MB / 0.4913 GB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009422/0.3438, allocations: 2.619 MB / 0.4938 GB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3439, allocations: 8 kB / 0.4938 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008066/0.3519, allocations: 1.952 MB / 0.4957 GB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.3525, allocations: 139.8 kB / 0.4959 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.3725, allocations: 13.4 MB / 0.509 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3737, allocations: 63.95 kB / 0.509 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.3738, allocations: 51.92 kB / 0.5091 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3738, allocations: 5.719 kB / 0.5091 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007963/0.3818, allocations: 2.792 MB / 0.5118 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3818, allocations: 12.03 kB / 0.5118 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007807/0.3896, allocations: 1.866 MB / 0.5136 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.3902, allocations: 139.8 kB / 0.5138 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.4089, allocations: 13.14 MB / 0.5266 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000917/0.4099, allocations: 56.02 kB / 0.5267 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.41, allocations: 51.94 kB / 0.5267 GB, free: 5.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,$whenCondition1,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 1 {9 40} Notification: Performance of prepare postOptimizeDAE: time 0.0006885/0.4107, allocations: 436.8 kB / 0.5271 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4108, allocations: 106.7 kB / 0.5272 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.4137, allocations: 1.761 MB / 0.5289 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4138, allocations: 11.94 kB / 0.529 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4138, allocations: 4 kB / 0.529 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4138, allocations: 3.984 kB / 0.529 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.4183, allocations: 2.998 MB / 0.5319 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4183, allocations: 4 kB / 0.5319 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008938/0.4192, allocations: 167.8 kB / 0.5321 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.4205, allocations: 415.9 kB / 0.5324 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.4206, allocations: 27.98 kB / 0.5325 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006256/0.4269, allocations: 7.776 MB / 0.5401 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4269, allocations: 0 / 0.5401 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.4306, allocations: 2.435 MB / 0.5424 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.4312, allocations: 279.6 kB / 0.5427 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.4313, allocations: 20 kB / 0.5427 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.4319, allocations: 51.89 kB / 0.5428 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.4321, allocations: 76.84 kB / 0.5429 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.4322, allocations: 35.98 kB / 0.5429 GB, free: 4.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007455/0.433, allocations: 0.5659 MB / 0.5434 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.433, allocations: 0 / 0.5434 GB, free: 3.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002025/0.435, allocations: 0.5546 MB / 0.544 GB, free: 3.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004674/0.4397, allocations: 3.516 MB / 0.5474 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006378/0.4461, allocations: 3.436 MB / 0.5508 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4461, allocations: 0 / 0.5508 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001835/0.448, allocations: 1.269 MB / 0.552 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.4492, allocations: 233.6 kB / 0.5522 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.469, allocations: 14.27 MB / 0.5662 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/0.47, allocations: 1.272 MB / 0.5674 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009354/0.4709, allocations: 244.2 kB / 0.5676 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.4715, allocations: 431.3 kB / 0.5681 GB, free: 9.977 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4715, allocations: 4 kB / 0.5681 GB, free: 9.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.257/0.7285, allocations: 40.89 MB / 0.608 GB, free: 98.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.7287, allocations: 267.1 kB / 0.6082 GB, free: 98.33 MB / 446.1 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.c:7: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_records.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_records.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_01exo.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_01exo.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_01exo.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_02nls.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_02nls.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_02nls.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_03lsy.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_03lsy.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_03lsy.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_04set.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_04set.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_04set.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_05evt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_05evt.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_05evt.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_06inz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_06inz.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_06inz.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_07dly.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_07dly.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_07dly.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_08bnd.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_08bnd.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_08bnd.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_09alg.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_09alg.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_09alg.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_10asr.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_10asr.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_10asr.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_11mix.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_11mix.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_11mix.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:871:74: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp35, 2, (modelica_real)real_array_get(asm_ctrl._motor._psi_rq._SeedNLSJac1, 1, ((modelica_integer) 1)), (modelica_real)jacobian->seedVars[5] /* asm_ctrl.motor.psi_rq.SeedNLSJac1[2] SEED_VAR */); ^ PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:889:164: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp53, 2, (modelica_real)jacobian->seedVars[6] /* asm_ctrl.motor.psi_rd.SeedNLSJac1[1] SEED_VAR */, (modelica_real)real_array_get(asm_ctrl._motor._psi_rd._SeedNLSJac1, 1, ((modelica_integer) 2))); ^ PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:1954:74: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp94, 2, (modelica_real)real_array_get(asm_ctrl._motor._psi_rq._SeedNLSJac4, 1, ((modelica_integer) 1)), (modelica_real)jacobian->seedVars[5] /* asm_ctrl.motor.psi_rq.SeedNLSJac4[2] SEED_VAR */); ^ PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:1972:165: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp112, 2, (modelica_real)jacobian->seedVars[6] /* asm_ctrl.motor.psi_rd.SeedNLSJac4[1] SEED_VAR */, (modelica_real)real_array_get(asm_ctrl._motor._psi_rd._SeedNLSJac4, 1, ((modelica_integer) 2))); ^ 2 warnings and 4 errors generated. make: *** [: PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.o] Error 1