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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09351/0.09351, allocations: 12.36 MB / 31.99 MB, free: 6.434 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 105.1 kB / 38.03 MB, free: 1.117 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.7 MB / 251.7 MB, free: 7.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 200.4 kB / 306.9 MB, free: 312 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3238/0.3238, allocations: 79.74 MB / 441.7 MB, free: 12.28 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003976/0.003976, allocations: 140.8 kB / 0.5883 GB, free: 7.473 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3971, allocations: 71.96 MB / 0.6585 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.008303/0.4054, allocations: 6.013 MB / 0.6644 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.4105, allocations: 1.91 MB / 0.6663 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.4115, allocations: 10.72 kB / 0.6663 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.4124, allocations: 243.7 kB / 0.6665 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.4149, allocations: 0.8354 MB / 0.6673 GB, free: 12.43 MB / 462.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.001596/0.4165, allocations: 0.6601 MB / 0.668 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.4191, allocations: 1.639 MB / 0.6696 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.4196, allocations: 240.4 kB / 0.6698 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.4207, allocations: 0.6906 MB / 0.6705 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.422, allocations: 0.852 MB / 0.6713 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.4222, allocations: 125.1 kB / 0.6714 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006324/0.4228, allocations: 260.8 kB / 0.6717 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.4232, allocations: 335.5 kB / 0.672 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.4238, allocations: 0.5592 MB / 0.6726 GB, free: 9.805 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.4261, allocations: 1.718 MB / 0.6742 GB, free: 8.566 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4261, allocations: 1.438 kB / 0.6742 GB, free: 8.566 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4261, allocations: 0 / 0.6742 GB, free: 8.566 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.4261, allocations: 0 / 0.6742 GB, free: 8.566 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.009462/0.4356, allocations: 2.817 MB / 0.677 GB, free: 6.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4356, allocations: 10.28 kB / 0.677 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.779e-05/0.4356, allocations: 27.52 kB / 0.677 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.4358, allocations: 134.2 kB / 0.6772 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.4411, allocations: 0.7866 MB / 0.6779 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.4431, allocations: 0.8517 MB / 0.6788 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.4435, allocations: 339.2 kB / 0.6791 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.4437, allocations: 92.27 kB / 0.6792 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.4466, allocations: 1.433 MB / 0.6806 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4466, allocations: 0 / 0.6806 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.951e-05/0.4467, allocations: 30.88 kB / 0.6806 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.4467, allocations: 23.66 kB / 0.6806 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.4489, allocations: 1.027 MB / 0.6816 GB, free: 3.918 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.006573/0.4555, allocations: 2.826 MB / 0.6844 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00776/0.4632, allocations: 2.137 MB / 0.6865 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.4651, allocations: 0.7254 MB / 0.6872 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4652, allocations: 18.06 kB / 0.6872 GB, free: 456 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/0.4672, allocations: 0.768 MB / 0.6879 GB, free: 15.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 5.57e-06/0.4672, allocations: 0 / 0.6879 GB, free: 15.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.03071/0.4979, allocations: 7.061 MB / 0.6948 GB, free: 12.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.4981, allocations: 208.1 kB / 0.695 GB, free: 12.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.4999, allocations: 1.086 MB / 0.6961 GB, free: 11.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.5002, allocations: 49.7 kB / 0.6961 GB, free: 11.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.5006, allocations: 489.9 kB / 0.6966 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/0.5011, allocations: 349.2 kB / 0.6969 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005676/0.5016, allocations: 307.5 kB / 0.6972 GB, free: 10.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5018, allocations: 305.1 kB / 0.6975 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.5035, allocations: 0.8076 MB / 0.6983 GB, free: 9.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.5055, allocations: 1.15 MB / 0.6994 GB, free: 7.918 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.02455/0.53, allocations: 5.739 MB / 0.705 GB, free: 2.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.53, allocations: 0 / 0.705 GB, free: 2.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01451/0.5445, allocations: 4.567 MB / 0.7095 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.5446, allocations: 59.41 kB / 0.7096 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.5447, allocations: 12 kB / 0.7096 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00655/0.5512, allocations: 1.629 MB / 0.7112 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.5526, allocations: 303.5 kB / 0.7114 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/0.5763, allocations: 10.1 MB / 0.7213 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.5784, allocations: 203 kB / 0.7215 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.5786, allocations: 67.97 kB / 0.7216 GB, free: 0.7812 MB / 494.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.0007411/0.5793, allocations: 363.7 kB / 0.7219 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/0.5814, allocations: 0.654 MB / 0.7226 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.5959, allocations: 4.121 MB / 0.7266 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.5959, allocations: 12 kB / 0.7266 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.5959, allocations: 8 kB / 0.7266 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/0.596, allocations: 11.91 kB / 0.7266 GB, free: 11.57 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.01627/0.6122, allocations: 5.158 MB / 0.7316 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.6122, allocations: 4 kB / 0.7317 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/0.6129, allocations: 107.8 kB / 0.7318 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006083/0.6189, allocations: 1.72 MB / 0.7334 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.6191, allocations: 24 kB / 0.7335 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/0.6439, allocations: 11.7 MB / 0.7449 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6439, allocations: 0 / 0.7449 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.6603, allocations: 5.143 MB / 0.7499 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.6609, allocations: 166.8 kB / 0.7501 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.6611, allocations: 27.94 kB / 0.7501 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6624, allocations: 111.9 kB / 0.7502 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005958/0.663, allocations: 188.6 kB / 0.7504 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.6631, allocations: 32 kB / 0.7504 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001214/0.6643, allocations: 0.7355 MB / 0.7511 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6643, allocations: 0 / 0.7511 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001803/0.6661, allocations: 499.7 kB / 0.7516 GB, free: 1.492 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.0164/0.6825, allocations: 5.745 MB / 0.7572 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007324/0.6898, allocations: 2.708 MB / 0.7599 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6898, allocations: 0 / 0.7599 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.6941, allocations: 1.361 MB / 0.7612 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.6963, allocations: 0.5856 MB / 0.7618 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04402/0.7404, allocations: 16.87 MB / 0.7782 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.7411, allocations: 0.5687 MB / 0.7788 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005625/0.7416, allocations: 121 kB / 0.7789 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/0.7423, allocations: 491.3 kB / 0.7794 GB, free: 4.328 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.7423, allocations: 7.938 kB / 0.7794 GB, free: 4.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0795/0.8218, allocations: 37.73 MB / 0.8162 GB, free: 14.74 MB / 0.5919 GB Error: Error building simulator. Build log: cmd: cd '404.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- 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/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/404.fmutmp/sources/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/404.fmutmp/sources/../binaries/linux64 -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/404.fmutmp/sources/build_cmake_static [ 0%] Building C object CMakeFiles/404.dir/external_solvers/F77_aloc.c.o [ 1%] Building C object CMakeFiles/404.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/404.dir/external_solvers/dgemv.c.o [ 3%] Building C object CMakeFiles/404.dir/external_solvers/dger.c.o [ 4%] Building C object CMakeFiles/404.dir/external_solvers/dgesv.c.o [ 5%] Building C object CMakeFiles/404.dir/external_solvers/dgetf2.c.o [ 6%] Building C object CMakeFiles/404.dir/external_solvers/dgetrf.c.o [ 7%] Building C object CMakeFiles/404.dir/external_solvers/dgetri.c.o [ 7%] Building C object CMakeFiles/404.dir/external_solvers/dgetrs.c.o [ 8%] Building C object CMakeFiles/404.dir/external_solvers/dlamch.c.o [ 9%] Building C object CMakeFiles/404.dir/external_solvers/dlaswp.c.o [ 10%] Building C object CMakeFiles/404.dir/external_solvers/dogleg_.c.o [ 11%] Building C object CMakeFiles/404.dir/external_solvers/dpmpar_.c.o [ 12%] Building C object CMakeFiles/404.dir/external_solvers/dscal.c.o [ 13%] Building C object CMakeFiles/404.dir/external_solvers/dswap.c.o [ 14%] Building C object CMakeFiles/404.dir/external_solvers/dtrmm.c.o [ 14%] Building C object CMakeFiles/404.dir/external_solvers/dtrmv.c.o [ 15%] Building C object CMakeFiles/404.dir/external_solvers/dtrsm.c.o [ 16%] Building C object CMakeFiles/404.dir/external_solvers/dtrti2.c.o [ 17%] Building C object CMakeFiles/404.dir/external_solvers/dtrtri.c.o [ 18%] Building C object CMakeFiles/404.dir/external_solvers/enorm_.c.o [ 19%] Building C object CMakeFiles/404.dir/external_solvers/exit_.c.o [ 20%] Building C object CMakeFiles/404.dir/external_solvers/hybrj_.c.o [ 21%] Building C object CMakeFiles/404.dir/external_solvers/i_nint.c.o [ 21%] Building C object CMakeFiles/404.dir/external_solvers/idamax.c.o [ 22%] Building C object CMakeFiles/404.dir/external_solvers/ieeeck.c.o [ 23%] Building C object CMakeFiles/404.dir/external_solvers/ilaenv.c.o [ 24%] Building C object CMakeFiles/404.dir/external_solvers/iparmq.c.o [ 25%] Building C object CMakeFiles/404.dir/external_solvers/lsame.c.o [ 26%] Building C object CMakeFiles/404.dir/external_solvers/pow_di.c.o [ 27%] Building C object CMakeFiles/404.dir/external_solvers/qform_.c.o [ 28%] Building C object CMakeFiles/404.dir/external_solvers/qrfac_.c.o [ 28%] Building C object CMakeFiles/404.dir/external_solvers/r1mpyq_.c.o [ 29%] Building C object CMakeFiles/404.dir/external_solvers/r1updt_.c.o [ 30%] Building C object CMakeFiles/404.dir/external_solvers/s_cat.c.o [ 31%] Building C object CMakeFiles/404.dir/external_solvers/s_cmp.c.o [ 32%] Building C object CMakeFiles/404.dir/external_solvers/s_copy.c.o [ 33%] Building C object CMakeFiles/404.dir/external_solvers/xerbla.c.o [ 34%] Building C object CMakeFiles/404.dir/gc/memory_pool.c.o [ 35%] Building C object CMakeFiles/404.dir/gc/omc_gc.c.o [ 35%] Building C object CMakeFiles/404.dir/math-support/pivot.c.o [ 36%] Building C object CMakeFiles/404.dir/meta/meta_modelica_catch.c.o [ 37%] Building C object CMakeFiles/404.dir/simulation/jacobian_util.c.o [ 38%] Building C object CMakeFiles/404.dir/simulation/omc_simulation_util.c.o [ 39%] Building C object CMakeFiles/404.dir/simulation/options.c.o [ 40%] Building C object CMakeFiles/404.dir/simulation/simulation_info_json.c.o [ 41%] Building C object CMakeFiles/404.dir/simulation/simulation_omc_assert.c.o [ 42%] Building C object CMakeFiles/404.dir/simulation/solver/cvode_solver.c.o [ 42%] Building C object CMakeFiles/404.dir/simulation/solver/delay.c.o [ 43%] Building C object CMakeFiles/404.dir/simulation/solver/fmi_events.c.o [ 44%] Building C object CMakeFiles/404.dir/simulation/solver/initialization/initialization.c.o [ 45%] Building C object CMakeFiles/404.dir/simulation/solver/linearSolverLapack.c.o [ 46%] Building C object CMakeFiles/404.dir/simulation/solver/linearSolverTotalPivot.c.o [ 47%] Building C object CMakeFiles/404.dir/simulation/solver/linearSystem.c.o [ 48%] Building C object CMakeFiles/404.dir/simulation/solver/model_help.c.o [ 49%] Building C object CMakeFiles/404.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 50%] Building C object CMakeFiles/404.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 50%] Building C object CMakeFiles/404.dir/simulation/solver/nonlinearSystem.c.o [ 51%] Building C object CMakeFiles/404.dir/simulation/solver/nonlinearValuesList.c.o [ 52%] Building C object CMakeFiles/404.dir/simulation/solver/omc_math.c.o [ 53%] Building C object CMakeFiles/404.dir/simulation/solver/spatialDistribution.c.o [ 54%] Building C object CMakeFiles/404.dir/simulation/solver/stateset.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/404.fmutmp/sources/simulation/solver/stateset.c:349:70: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous/404.fmutmp/sources/simulation/solver/stateset.c:349:140: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu 2 warnings generated. [ 55%] Building C object CMakeFiles/404.dir/simulation/solver/sundials_error.c.o [ 56%] Building C object CMakeFiles/404.dir/simulation/solver/synchronous.c.o [ 57%] Building C object CMakeFiles/404.dir/util/ModelicaUtilities.c.o [ 57%] Building C object CMakeFiles/404.dir/util/base_array.c.o [ 58%] Building C object CMakeFiles/404.dir/util/boolean_array.c.o [ 59%] Building C object CMakeFiles/404.dir/util/context.c.o [ 60%] Building C object CMakeFiles/404.dir/util/division.c.o [ 61%] Building C object CMakeFiles/404.dir/util/doubleEndedList.c.o [ 62%] Building C object CMakeFiles/404.dir/util/generic_array.c.o [ 63%] Building C object CMakeFiles/404.dir/util/index_spec.c.o [ 64%] Building C object CMakeFiles/404.dir/util/integer_array.c.o [ 64%] Building C object CMakeFiles/404.dir/util/list.c.o [ 65%] Building C object CMakeFiles/404.dir/util/modelica_string.c.o [ 66%] Building C object CMakeFiles/404.dir/util/modelica_string_lit.c.o [ 67%] Building C object CMakeFiles/404.dir/util/omc_error.c.o [ 68%] Building C object CMakeFiles/404.dir/util/omc_file.c.o [ 69%] Building C object CMakeFiles/404.dir/util/omc_init.c.o [ 70%] Building C object CMakeFiles/404.dir/util/omc_mmap.c.o [ 71%] Building C object CMakeFiles/404.dir/util/omc_msvc.c.o [ 71%] Building C object CMakeFiles/404.dir/util/omc_numbers.c.o [ 72%] Building C object CMakeFiles/404.dir/util/parallel_helper.c.o [ 73%] Building C object CMakeFiles/404.dir/util/rational.c.o [ 74%] Building C object CMakeFiles/404.dir/util/real_array.c.o [ 75%] Building C object CMakeFiles/404.dir/util/ringbuffer.c.o [ 76%] Building C object CMakeFiles/404.dir/util/simulation_options.c.o [ 77%] Building C object CMakeFiles/404.dir/util/string_array.c.o [ 78%] Building C object CMakeFiles/404.dir/util/utility.c.o [ 78%] Building C object CMakeFiles/404.dir/util/varinfo.c.o [ 79%] Building C object CMakeFiles/404.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c.o [ 80%] Building C object CMakeFiles/404.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c.o [ 81%] Building C object CMakeFiles/404.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/404.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[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.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[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.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[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.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[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:631: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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:631: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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:631: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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:631: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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:633: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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:633: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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:633: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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573: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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:633: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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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/404.fmutmp/sources/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:573:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. gmake[2]: *** [CMakeFiles/404.dir/build.make:1364: CMakeFiles/404.dir/OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/404.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 " [Timeout remaining time 648] [Calling sys.exit(0), Time elapsed: 14.469980709021911] Failed to read output from testmodel.py, exit status != 0: 11.539392695995048 11.565830933 11.134782822 Calling exit ...