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.08139/0.08139, allocations: 12.6 MB / 28.23 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 111.4 kB / 31.84 MB, free: 3.422 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.261/1.261, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001252/0.001252, allocations: 184.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4116/0.4116, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.002579/0.002579, allocations: 142.9 kB / 0.5554 GB, free: 28.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1048, allocations: 68.13 MB / 0.6219 GB, free: 8 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007416/0.1123, allocations: 6.822 MB / 0.6286 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.1165, allocations: 1.982 MB / 0.6305 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008109/0.1173, allocations: 12 kB / 0.6305 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.1181, allocations: 245.8 kB / 0.6308 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.1205, allocations: 0.8501 MB / 0.6316 GB, free: 6.059 MB / 446.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.001407/0.1219, allocations: 0.6661 MB / 0.6323 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.1237, allocations: 1.608 MB / 0.6338 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.1242, allocations: 342.5 kB / 0.6341 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.1251, allocations: 0.673 MB / 0.6348 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009434/0.126, allocations: 0.8284 MB / 0.6356 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.1263, allocations: 124 kB / 0.6357 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.1268, allocations: 259.9 kB / 0.636 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.1272, allocations: 334.6 kB / 0.6363 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.1278, allocations: 0.6835 MB / 0.637 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.1294, allocations: 1.691 MB / 0.6386 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1294, allocations: 4 kB / 0.6386 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1295, allocations: 0 / 0.6386 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.1295, allocations: 4 kB / 0.6386 GB, free: 14.84 MB / 462.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.007948/0.1374, allocations: 2.711 MB / 0.6413 GB, free: 12.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1375, allocations: 11.98 kB / 0.6413 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.1376, allocations: 138.8 kB / 0.6414 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.1424, allocations: 0.7748 MB / 0.6422 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1438, allocations: 0.8963 MB / 0.6431 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.144, allocations: 272.1 kB / 0.6433 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.1442, allocations: 84 kB / 0.6434 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.1466, allocations: 1.404 MB / 0.6448 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1466, allocations: 7.922 kB / 0.6448 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.1467, allocations: 35.94 kB / 0.6448 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1468, allocations: 20 kB / 0.6448 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.1486, allocations: 0.989 MB / 0.6458 GB, free: 7.309 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 preOpt removeSimpleEquations (simulation): time 0.005271/0.1539, allocations: 3.673 MB / 0.6494 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007065/0.161, allocations: 2.56 MB / 0.6519 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.1624, allocations: 0.7681 MB / 0.6526 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.1625, allocations: 32.7 kB / 0.6527 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.1639, allocations: 0.7508 MB / 0.6534 GB, free: 15.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 4.598e-06/0.1639, allocations: 0 / 0.6534 GB, free: 15.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.02704/0.191, allocations: 7.168 MB / 0.6604 GB, free: 7.938 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1912, allocations: 203.4 kB / 0.6606 GB, free: 7.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.1928, allocations: 1.087 MB / 0.6616 GB, free: 6.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.193, allocations: 49.7 kB / 0.6617 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.1933, allocations: 481.3 kB / 0.6622 GB, free: 6.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.1937, allocations: 327.5 kB / 0.6625 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/0.1943, allocations: 319.4 kB / 0.6628 GB, free: 5.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.1944, allocations: 301.1 kB / 0.6631 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.1959, allocations: 0.7496 MB / 0.6638 GB, free: 4.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.1976, allocations: 1.096 MB / 0.6649 GB, free: 3.148 MB / 478.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.02215/0.2198, allocations: 5.968 MB / 0.6707 GB, free: 12.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.2198, allocations: 4 kB / 0.6707 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0134/0.2332, allocations: 4.532 MB / 0.6751 GB, free: 8.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.2333, allocations: 59.41 kB / 0.6752 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.2333, allocations: 16 kB / 0.6752 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005878/0.2392, allocations: 1.635 MB / 0.6768 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.2404, allocations: 303.5 kB / 0.6771 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.2615, allocations: 10.48 MB / 0.6873 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.2633, allocations: 206.8 kB / 0.6875 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.2635, allocations: 67.98 kB / 0.6876 GB, free: 11.34 MB / 0.4981 GB 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.0006826/0.2642, allocations: 350 kB / 0.6879 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/0.2661, allocations: 0.6728 MB / 0.6886 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.2791, allocations: 4.153 MB / 0.6926 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.2792, allocations: 12 kB / 0.6926 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.2792, allocations: 8 kB / 0.6926 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.2792, allocations: 7.922 kB / 0.6926 GB, free: 6.082 MB / 0.4981 GB 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.01478/0.294, allocations: 5.691 MB / 0.6982 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.294, allocations: 0 / 0.6982 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.2946, allocations: 107.8 kB / 0.6983 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005461/0.3, allocations: 1.731 MB / 0.7 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.3002, allocations: 27.98 kB / 0.7 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.322, allocations: 12.19 MB / 0.7119 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.322, allocations: 0 / 0.7119 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.231/0.553, allocations: 5.119 MB / 0.7169 GB, free: 83.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.5534, allocations: 228.6 kB / 0.7171 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.5536, allocations: 24.53 kB / 0.7172 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5547, allocations: 112.5 kB / 0.7173 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/0.5552, allocations: 178.5 kB / 0.7174 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.5553, allocations: 36.19 kB / 0.7175 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001063/0.5564, allocations: 0.728 MB / 0.7182 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5564, allocations: 1 kB / 0.7182 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001554/0.558, allocations: 0.4905 MB / 0.7187 GB, free: 83.14 MB / 0.5137 GB 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.01498/0.573, allocations: 5.724 MB / 0.7243 GB, free: 81.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005931/0.5789, allocations: 2.764 MB / 0.727 GB, free: 80.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5789, allocations: 2.078 kB / 0.727 GB, free: 80.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/0.5826, allocations: 1.386 MB / 0.7283 GB, free: 80.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5842, allocations: 0.5976 MB / 0.7289 GB, free: 79.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03494/0.6192, allocations: 16.62 MB / 0.7451 GB, free: 72.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.6198, allocations: 1.154 MB / 0.7463 GB, free: 71.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003887/0.6202, allocations: 123.2 kB / 0.7464 GB, free: 71.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.6208, allocations: 491.3 kB / 0.7468 GB, free: 70.83 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.6208, allocations: 0 / 0.7468 GB, free: 70.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/0.6726, allocations: 35.61 MB / 0.7816 GB, free: 35.4 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 -- Installing dynamic dependencies from list: -- 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:621: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:551: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:621: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:551: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:621: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:551: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:621: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:551: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:625: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:551: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:625: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:551: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:625: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:551: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:625: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:551: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:627: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:551: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:627: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:551: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:627: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:551: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:627: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:551: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