Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09506/0.09506, allocations: 12.6 MB / 28.1 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 111.5 kB / 31.7 MB, free: 3.961 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.434/0.434, allocations: 78.5 MB / 419.2 MB, free: 11.36 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002914, allocations: 143.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3099, allocations: 68.11 MB / 0.5547 GB, free: 32.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007405/0.3173, allocations: 6.818 MB / 0.5613 GB, free: 27.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.321, allocations: 1.979 MB / 0.5633 GB, free: 26.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.3215, allocations: 11.16 kB / 0.5633 GB, free: 26.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.3222, allocations: 247.2 kB / 0.5635 GB, free: 25.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.3238, allocations: 0.8038 MB / 0.5643 GB, free: 25.24 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001187/0.325, allocations: 0.6622 MB / 0.5649 GB, free: 24.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.3264, allocations: 1.6 MB / 0.5665 GB, free: 23.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.3269, allocations: 342 kB / 0.5668 GB, free: 23.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007526/0.3276, allocations: 0.6634 MB / 0.5675 GB, free: 23.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.3284, allocations: 0.8389 MB / 0.5683 GB, free: 22.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.3286, allocations: 123 kB / 0.5684 GB, free: 22.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.3292, allocations: 260.8 kB / 0.5687 GB, free: 22.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.3294, allocations: 338.5 kB / 0.569 GB, free: 22.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.3299, allocations: 0.6812 MB / 0.5697 GB, free: 21.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3313, allocations: 1.668 MB / 0.5713 GB, free: 20.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3313, allocations: 1.156 kB / 0.5713 GB, free: 20.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3313, allocations: 0 / 0.5713 GB, free: 20.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3313, allocations: 0 / 0.5713 GB, free: 20.48 MB / 398.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.008053/0.3394, allocations: 2.714 MB / 0.5739 GB, free: 18.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3394, allocations: 13.58 kB / 0.5739 GB, free: 18.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.3395, allocations: 128.9 kB / 0.5741 GB, free: 18.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/0.3443, allocations: 0.782 MB / 0.5748 GB, free: 18.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3456, allocations: 0.9042 MB / 0.5757 GB, free: 17.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.3458, allocations: 261.7 kB / 0.576 GB, free: 17.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.346, allocations: 88.16 kB / 0.576 GB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.3482, allocations: 1.407 MB / 0.5774 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3482, allocations: 0 / 0.5774 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.3483, allocations: 32 kB / 0.5775 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3483, allocations: 16 kB / 0.5775 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.35, allocations: 1.008 MB / 0.5785 GB, free: 14.93 MB / 398.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.004722/0.3547, allocations: 3.692 MB / 0.5821 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006616/0.3614, allocations: 2.564 MB / 0.5846 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.3626, allocations: 0.7695 MB / 0.5853 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.735e-05/0.3627, allocations: 28.7 kB / 0.5853 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.3639, allocations: 0.7442 MB / 0.5861 GB, free: 6.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.026e-06/0.3639, allocations: 0 / 0.5861 GB, free: 6.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.02583/0.3897, allocations: 7.172 MB / 0.5931 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.3899, allocations: 199.4 kB / 0.5933 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.3915, allocations: 1.087 MB / 0.5943 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.3917, allocations: 45.7 kB / 0.5944 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.392, allocations: 489.2 kB / 0.5948 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.3924, allocations: 339.4 kB / 0.5952 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004702/0.3929, allocations: 307.4 kB / 0.5955 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.393, allocations: 301.1 kB / 0.5957 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.3945, allocations: 0.7496 MB / 0.5965 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.3962, allocations: 1.108 MB / 0.5976 GB, free: 10.75 MB / 414.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.02261/0.4188, allocations: 5.976 MB / 0.6034 GB, free: 4.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.4188, allocations: 4 kB / 0.6034 GB, free: 4.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01427/0.4331, allocations: 4.524 MB / 0.6078 GB, free: 0 / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/0.4332, allocations: 67.39 kB / 0.6079 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.4332, allocations: 12 kB / 0.6079 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006028/0.4393, allocations: 1.643 MB / 0.6095 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.4405, allocations: 303.5 kB / 0.6098 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.4628, allocations: 10.49 MB / 0.62 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.4648, allocations: 198.8 kB / 0.6202 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/0.4651, allocations: 71.97 kB / 0.6203 GB, free: 2.918 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.000855/0.4659, allocations: 360.5 kB / 0.6206 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/0.468, allocations: 0.6728 MB / 0.6213 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.4815, allocations: 4.149 MB / 0.6253 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.4816, allocations: 12 kB / 0.6253 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/0.4816, allocations: 8 kB / 0.6253 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4816, allocations: 3.984 kB / 0.6254 GB, free: 13.66 MB / 446.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.01525/0.4969, allocations: 5.697 MB / 0.6309 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.4969, allocations: 0 / 0.6309 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.4974, allocations: 103.9 kB / 0.631 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005781/0.5032, allocations: 1.728 MB / 0.6327 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.894e-05/0.5033, allocations: 23.98 kB / 0.6327 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0231/0.5264, allocations: 12.2 MB / 0.6446 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5264, allocations: 4 kB / 0.6446 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.5417, allocations: 5.13 MB / 0.6497 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.5422, allocations: 227.3 kB / 0.6499 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.5426, allocations: 27.94 kB / 0.6499 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.544, allocations: 115.9 kB / 0.65 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/0.5445, allocations: 176.8 kB / 0.6502 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.5446, allocations: 32 kB / 0.6502 GB, free: 3.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.546, allocations: 0.7316 MB / 0.6509 GB, free: 2.855 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.546, allocations: 4 kB / 0.6509 GB, free: 2.852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001944/0.548, allocations: 495.5 kB / 0.6514 GB, free: 2.367 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.01576/0.5638, allocations: 5.728 MB / 0.657 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00698/0.5708, allocations: 2.789 MB / 0.6597 GB, free: 9.738 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5708, allocations: 0 / 0.6597 GB, free: 9.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.5748, allocations: 1.391 MB / 0.6611 GB, free: 8.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.5767, allocations: 0.5987 MB / 0.6617 GB, free: 7.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.6017, allocations: 11.09 MB / 0.6725 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.6025, allocations: 1.156 MB / 0.6736 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.6029, allocations: 124.8 kB / 0.6737 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.6035, allocations: 491.3 kB / 0.6742 GB, free: 10.35 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6035, allocations: 0 / 0.6742 GB, free: 10.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/0.8545, allocations: 34.55 MB / 0.7079 GB, free: 7.961 MB / 0.5137 GB Error: Error building simulator. Build log: cmd: cd 'OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && "cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && "cmake" --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/build_cmake_dynamic [ 0%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dgemm.c.o [ 1%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dger.c.o [ 2%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dgesv.c.o [ 3%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dgetf2.c.o [ 4%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dgetrf.c.o [ 5%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dgetrs.c.o [ 6%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dlamch.c.o [ 7%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dlaswp.c.o [ 8%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dogleg_.c.o [ 9%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dpmpar_.c.o [ 10%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dscal.c.o [ 11%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dswap.c.o [ 12%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/dtrsm.c.o [ 13%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/enorm_.c.o [ 14%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/hybrj_.c.o [ 15%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/i_nint.c.o [ 16%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/idamax.c.o [ 17%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/ieeeck.c.o [ 18%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/ilaenv.c.o [ 19%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/iparmq.c.o [ 20%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/lsame.c.o [ 21%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/pow_di.c.o [ 22%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/qform_.c.o [ 23%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/qrfac_.c.o [ 24%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/r1mpyq_.c.o [ 25%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/r1updt_.c.o [ 26%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/s_cmp.c.o [ 27%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/s_copy.c.o [ 28%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/external_solvers/xerbla.c.o [ 29%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/gc/memory_pool.c.o [ 30%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/gc/omc_gc.c.o [ 31%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/math-support/pivot.c.o [ 32%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/meta/meta_modelica_catch.c.o [ 33%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/jacobian_util.c.o [ 33%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/omc_simulation_util.c.o [ 34%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/options.c.o [ 35%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/simulation_info_json.c.o [ 36%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/simulation_omc_assert.c.o [ 37%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/delay.c.o [ 38%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/fmi_events.c.o [ 39%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/initialization/initialization.c.o [ 40%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/linearSolverLapack.c.o [ 41%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/linearSolverTotalPivot.c.o [ 42%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/linearSystem.c.o [ 43%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/model_help.c.o [ 44%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 45%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 46%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/nonlinearSystem.c.o [ 47%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/nonlinearValuesList.c.o [ 48%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/omc_math.c.o [ 49%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/spatialDistribution.c.o [ 50%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/stateset.c.o [ 51%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/simulation/solver/synchronous.c.o [ 52%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/ModelicaUtilities.c.o [ 53%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/base_array.c.o [ 54%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/boolean_array.c.o [ 55%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/context.c.o [ 56%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/division.c.o [ 57%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/doubleEndedList.c.o [ 58%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/generic_array.c.o [ 59%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/index_spec.c.o [ 60%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/integer_array.c.o [ 61%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/list.c.o [ 62%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/modelica_string.c.o [ 63%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/modelica_string_lit.c.o [ 64%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/omc_error.c.o [ 65%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/omc_file.c.o [ 66%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/omc_init.c.o [ 66%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/omc_mmap.c.o [ 67%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/omc_msvc.c.o [ 68%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/omc_numbers.c.o [ 69%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/parallel_helper.c.o [ 70%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/rational.c.o [ 71%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/real_array.c.o [ 72%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/ringbuffer.c.o [ 73%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/simulation_options.c.o [ 74%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/string_array.c.o [ 75%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/utility.c.o [ 76%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/util/varinfo.c.o [ 77%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c.o [ 78%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c.o [ 79%] Building C object CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. gmake[2]: *** [CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/build.make:1210: CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2