Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous",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.001229/0.001229, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.292/1.292, allocations: 222.9 MB / 238.9 MB, free: 4.723 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 196.4 kB / 289.2 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.447/0.447, allocations: 78.52 MB / 417.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 497 MB, free: 6.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1222, allocations: 68.17 MB / 0.552 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.2193/0.3416, allocations: 7.063 MB / 0.5589 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.3455, allocations: 2.045 MB / 0.5609 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008214/0.3463, allocations: 11 kB / 0.5609 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.3471, allocations: 193.7 kB / 0.5611 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.3488, allocations: 0.6971 MB / 0.5617 GB, free: 35.04 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3501, allocations: 0.6136 MB / 0.5623 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3515, allocations: 1.599 MB / 0.5639 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.3519, allocations: 341.9 kB / 0.5642 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007305/0.3527, allocations: 0.6718 MB / 0.5649 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.3533, allocations: 0.8371 MB / 0.5657 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.3535, allocations: 125.8 kB / 0.5658 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.3539, allocations: 259.5 kB / 0.5661 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.3542, allocations: 331.6 kB / 0.5664 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.3546, allocations: 0.6849 MB / 0.5671 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.3558, allocations: 1.668 MB / 0.5687 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3558, allocations: 0.5312 kB / 0.5687 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3558, allocations: 0 / 0.5687 GB, free: 33.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.3558, allocations: 2.562 kB / 0.5687 GB, free: 33.72 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007579/0.3634, allocations: 2.717 MB / 0.5713 GB, free: 32.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3634, allocations: 13.38 kB / 0.5713 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.3636, allocations: 125.9 kB / 0.5715 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.3681, allocations: 0.783 MB / 0.5722 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.3696, allocations: 0.9043 MB / 0.5731 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.3699, allocations: 257 kB / 0.5734 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3701, allocations: 92.22 kB / 0.5735 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.3724, allocations: 1.4 MB / 0.5748 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3725, allocations: 2.625 kB / 0.5748 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.3725, allocations: 32.56 kB / 0.5749 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3726, allocations: 25 kB / 0.5749 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.3743, allocations: 1.001 MB / 0.5759 GB, free: 31.81 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.3794, allocations: 3.696 MB / 0.5795 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006888/0.3863, allocations: 2.559 MB / 0.582 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.3878, allocations: 0.7661 MB / 0.5827 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3879, allocations: 24.25 kB / 0.5827 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.3892, allocations: 0.7539 MB / 0.5835 GB, free: 28.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.346e-06/0.3892, allocations: 0 / 0.5835 GB, free: 28.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02784/0.4171, allocations: 7.173 MB / 0.5905 GB, free: 26.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.4172, allocations: 203.3 kB / 0.5907 GB, free: 26.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.4191, allocations: 1.085 MB / 0.5917 GB, free: 26.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.4193, allocations: 47.92 kB / 0.5918 GB, free: 26.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.4197, allocations: 483.1 kB / 0.5922 GB, free: 25.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.42, allocations: 334.9 kB / 0.5926 GB, free: 25.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005046/0.4205, allocations: 312.7 kB / 0.5928 GB, free: 25.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.4206, allocations: 305.1 kB / 0.5931 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.4221, allocations: 0.7512 MB / 0.5939 GB, free: 24.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.4238, allocations: 1.098 MB / 0.5949 GB, free: 24.07 MB / 430.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02289/0.4467, allocations: 5.977 MB / 0.6008 GB, free: 21.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.4467, allocations: 7.781 kB / 0.6008 GB, free: 21.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01433/0.4611, allocations: 4.524 MB / 0.6052 GB, free: 20.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.4612, allocations: 67.34 kB / 0.6053 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.4612, allocations: 10.56 kB / 0.6053 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006158/0.4674, allocations: 1.635 MB / 0.6069 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4688, allocations: 297.2 kB / 0.6072 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.4892, allocations: 10.49 MB / 0.6174 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4912, allocations: 210.7 kB / 0.6176 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.4915, allocations: 64.53 kB / 0.6177 GB, free: 11.22 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start order4.delta0 = Modelica.Math.atan3(order4.Vt0.im + (order4.ra * order4.I0.im + order4.xq0 * order4.I0.re) * order4.Z_MBtoSB, order4.Vt0.re + (order4.ra * order4.I0.re - order4.xq0 * order4.I0.im) * order4.Z_MBtoSB, 0.0). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.simpleLagLim.state,aVRTypeII.derivativeBlock.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008292/0.4923, allocations: 363.2 kB / 0.618 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001934/0.4942, allocations: 0.6725 MB / 0.6187 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.5068, allocations: 4.148 MB / 0.6227 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.5068, allocations: 12 kB / 0.6227 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/0.5069, allocations: 8 kB / 0.6227 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-05/0.5069, allocations: 3.984 kB / 0.6227 GB, free: 5.969 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.5215, allocations: 5.697 MB / 0.6283 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.5216, allocations: 0.8906 kB / 0.6283 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.5222, allocations: 113 kB / 0.6284 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005922/0.5281, allocations: 1.722 MB / 0.6301 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.5284, allocations: 24 kB / 0.6301 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02375/0.5521, allocations: 12.2 MB / 0.642 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5522, allocations: 0 / 0.642 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.568, allocations: 5.123 MB / 0.647 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.5685, allocations: 231.1 kB / 0.6473 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/0.569, allocations: 31.94 kB / 0.6473 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.5704, allocations: 115.9 kB / 0.6474 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/0.571, allocations: 176.8 kB / 0.6476 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.5712, allocations: 32.8 kB / 0.6476 GB, free: 11.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.5724, allocations: 0.7376 MB / 0.6483 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5724, allocations: 0 / 0.6483 GB, free: 11.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001987/0.5744, allocations: 495.5 kB / 0.6488 GB, free: 10.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0163/0.5907, allocations: 5.719 MB / 0.6544 GB, free: 4.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007443/0.5982, allocations: 2.801 MB / 0.6571 GB, free: 2.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.5983, allocations: 0 / 0.6571 GB, free: 2.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.6023, allocations: 1.38 MB / 0.6585 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.6048, allocations: 0.6084 MB / 0.6591 GB, free: 28 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02836/0.6332, allocations: 11.5 MB / 0.6703 GB, free: 4.094 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009187/0.6342, allocations: 1.156 MB / 0.6714 GB, free: 2.906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005589/0.6348, allocations: 117.4 kB / 0.6715 GB, free: 2.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007675/0.6355, allocations: 495.3 kB / 0.672 GB, free: 2.309 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6356, allocations: 0 / 0.672 GB, free: 2.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06474/0.7003, allocations: 33.83 MB / 0.705 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.7007, allocations: 285.8 kB / 0.7053 GB, free: 0.6016 MB / 0.4981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 2 warnings and 12 errors generated. make: *** [: OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1