Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001501/0.001501, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.475/1.475, allocations: 223.3 MB / 239.4 MB, free: 5.418 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.0009998/0.0009998, allocations: 184.5 kB / 290.6 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5011/0.5011, allocations: 91.91 MB / 433.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 15.98 kB / 0.5049 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3928, allocations: 72.46 MB / 0.5756 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.004657/0.3975, allocations: 6.611 MB / 0.5821 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.4004, allocations: 2.055 MB / 0.5841 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.4008, allocations: 11.88 kB / 0.5841 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.4013, allocations: 190.1 kB / 0.5843 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.4027, allocations: 0.7064 MB / 0.585 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4037, allocations: 0.6136 MB / 0.5856 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.4048, allocations: 1.521 MB / 0.5871 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.4051, allocations: 299.1 kB / 0.5874 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.4057, allocations: 0.5715 MB / 0.5879 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006173/0.4063, allocations: 0.7575 MB / 0.5887 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.4064, allocations: 59.81 kB / 0.5887 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.4068, allocations: 190.6 kB / 0.5889 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.407, allocations: 260.7 kB / 0.5891 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.4074, allocations: 0.6398 MB / 0.5898 GB, free: 28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4085, allocations: 1.582 MB / 0.5913 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4085, allocations: 1.031 kB / 0.5913 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4085, allocations: 0 / 0.5913 GB, free: 27.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4085, allocations: 0 / 0.5913 GB, free: 27.41 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.007784/0.4163, allocations: 2.513 MB / 0.5938 GB, free: 26.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4163, allocations: 9.281 kB / 0.5938 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.4165, allocations: 129.6 kB / 0.5939 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.4215, allocations: 0.7829 MB / 0.5947 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.4229, allocations: 0.905 MB / 0.5955 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4231, allocations: 271.2 kB / 0.5958 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.4233, allocations: 85 kB / 0.5959 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.4259, allocations: 1.484 MB / 0.5973 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.426, allocations: 0 / 0.5973 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.4261, allocations: 31.12 kB / 0.5974 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.4261, allocations: 19.12 kB / 0.5974 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.4282, allocations: 1.062 MB / 0.5984 GB, free: 24.2 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.006188/0.4344, allocations: 3.794 MB / 0.6021 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008365/0.4428, allocations: 3.095 MB / 0.6051 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.4444, allocations: 0.8356 MB / 0.606 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.4445, allocations: 26.81 kB / 0.606 GB, free: 20.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.4461, allocations: 0.8103 MB / 0.6068 GB, free: 20.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.427e-06/0.4461, allocations: 0 / 0.6068 GB, free: 20.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03532/0.4814, allocations: 8.881 MB / 0.6155 GB, free: 18.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.4816, allocations: 195.2 kB / 0.6156 GB, free: 18.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.4836, allocations: 1.094 MB / 0.6167 GB, free: 17.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.4839, allocations: 47.78 kB / 0.6168 GB, free: 17.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.4843, allocations: 483.8 kB / 0.6172 GB, free: 17.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.4847, allocations: 330.6 kB / 0.6175 GB, free: 17.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.4849, allocations: 157.5 kB / 0.6177 GB, free: 17.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.485, allocations: 306.3 kB / 0.618 GB, free: 16.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4866, allocations: 0.8083 MB / 0.6188 GB, free: 16.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.4884, allocations: 1.167 MB / 0.6199 GB, free: 15.66 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.02195/0.5104, allocations: 6.386 MB / 0.6261 GB, free: 9.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.5104, allocations: 4 kB / 0.6261 GB, free: 9.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01367/0.5241, allocations: 5.36 MB / 0.6314 GB, free: 3.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.5242, allocations: 69.73 kB / 0.6314 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.5242, allocations: 15.92 kB / 0.6315 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006032/0.5302, allocations: 1.919 MB / 0.6333 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5314, allocations: 303.5 kB / 0.6336 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.5538, allocations: 10.61 MB / 0.644 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.5559, allocations: 246.6 kB / 0.6442 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.556, allocations: 67.98 kB / 0.6443 GB, free: 6.129 MB / 446.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 sytem: $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.0007541/0.5568, allocations: 362.5 kB / 0.6446 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/0.5587, allocations: 0.6885 MB / 0.6453 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.5741, allocations: 5.007 MB / 0.6502 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.5741, allocations: 15.94 kB / 0.6502 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.648e-05/0.5742, allocations: 8.047 kB / 0.6502 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.5742, allocations: 3.938 kB / 0.6502 GB, free: 15.99 MB / 462.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.01708/0.5913, allocations: 6.56 MB / 0.6566 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5913, allocations: 3.938 kB / 0.6566 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.5919, allocations: 111.8 kB / 0.6567 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006529/0.5984, allocations: 2.001 MB / 0.6587 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.5986, allocations: 31.97 kB / 0.6587 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/0.6221, allocations: 12.04 MB / 0.6705 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6222, allocations: 0 / 0.6705 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.6394, allocations: 6.025 MB / 0.6764 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.64, allocations: 247.2 kB / 0.6766 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.6402, allocations: 32 kB / 0.6766 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.6415, allocations: 143.9 kB / 0.6768 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/0.642, allocations: 180.6 kB / 0.6769 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.6421, allocations: 32 kB / 0.677 GB, free: 4.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.6432, allocations: 0.7316 MB / 0.6777 GB, free: 3.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6432, allocations: 4 kB / 0.6777 GB, free: 3.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001639/0.6449, allocations: 0.4917 MB / 0.6782 GB, free: 2.781 MB / 478.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.01837/0.6632, allocations: 6.638 MB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008401/0.6717, allocations: 3.036 MB / 0.6876 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6718, allocations: 0 / 0.6876 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004969/0.6767, allocations: 1.598 MB / 0.6892 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.6794, allocations: 0.6082 MB / 0.6898 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/0.7113, allocations: 12.46 MB / 0.7019 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/0.7123, allocations: 1.16 MB / 0.7031 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006287/0.7129, allocations: 116.9 kB / 0.7032 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/0.7136, allocations: 487.3 kB / 0.7036 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/0.7136, allocations: 0 / 0.7036 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4569/1.171, allocations: 31.84 MB / 0.7347 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/1.171, allocations: 277.5 kB / 0.735 GB, free: 8.098 MB / 0.5294 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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_dev_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:155: ./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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_dev_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:155: ./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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_dev_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:155: ./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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ 2 warnings and 12 errors generated. make: *** [: OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1