Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239 MB, free: 4.684 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 188.5 kB / 289.3 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5442/0.5442, allocations: 91.9 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4031, allocations: 71.26 MB / 0.5711 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006605/0.4098, allocations: 7.083 MB / 0.578 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.4141, allocations: 2.048 MB / 0.58 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.4153, allocations: 15.47 kB / 0.58 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.4161, allocations: 192 kB / 0.5802 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.4183, allocations: 0.7094 MB / 0.5809 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.4196, allocations: 0.6087 MB / 0.5815 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4213, allocations: 1.607 MB / 0.5831 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.4217, allocations: 335.3 kB / 0.5834 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.4226, allocations: 0.6685 MB / 0.584 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.4233, allocations: 0.8365 MB / 0.5848 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.4235, allocations: 121.2 kB / 0.585 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005364/0.4241, allocations: 266.5 kB / 0.5852 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4243, allocations: 340.5 kB / 0.5855 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.4249, allocations: 0.6804 MB / 0.5862 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.4266, allocations: 1.666 MB / 0.5878 GB, free: 27.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4266, allocations: 0 / 0.5878 GB, free: 27.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4266, allocations: 1.344 kB / 0.5878 GB, free: 27.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.4266, allocations: 0 / 0.5878 GB, free: 27.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.009434/0.4361, allocations: 2.712 MB / 0.5905 GB, free: 25.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.4361, allocations: 8.969 kB / 0.5905 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.4363, allocations: 133.9 kB / 0.5906 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.4416, allocations: 0.7771 MB / 0.5914 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.4436, allocations: 0.9077 MB / 0.5923 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.4439, allocations: 258.5 kB / 0.5925 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.4441, allocations: 88.31 kB / 0.5926 GB, free: 24.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.4468, allocations: 1.413 MB / 0.594 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.4469, allocations: 1.125 kB / 0.594 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.447, allocations: 35.53 kB / 0.594 GB, free: 24.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.447, allocations: 18.03 kB / 0.594 GB, free: 24.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.4491, allocations: 0.9989 MB / 0.595 GB, free: 23.84 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007702/0.4568, allocations: 3.724 MB / 0.5986 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008329/0.4651, allocations: 2.559 MB / 0.6011 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.4671, allocations: 0.7798 MB / 0.6019 GB, free: 20.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.4672, allocations: 15.14 kB / 0.6019 GB, free: 20.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.4689, allocations: 0.7486 MB / 0.6026 GB, free: 20 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.098e-06/0.4689, allocations: 1.375 kB / 0.6026 GB, free: 20 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03184/0.5007, allocations: 7.296 MB / 0.6098 GB, free: 18.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.5009, allocations: 202.7 kB / 0.61 GB, free: 18.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.503, allocations: 1.089 MB / 0.611 GB, free: 17.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003195/0.5033, allocations: 51.67 kB / 0.6111 GB, free: 17.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.5037, allocations: 479.3 kB / 0.6115 GB, free: 17.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.5041, allocations: 334.8 kB / 0.6119 GB, free: 17.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005492/0.5047, allocations: 311.8 kB / 0.6122 GB, free: 17.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.5047, allocations: 302.9 kB / 0.6124 GB, free: 16.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.5064, allocations: 0.7506 MB / 0.6132 GB, free: 16.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.5082, allocations: 1.099 MB / 0.6142 GB, free: 15.77 MB / 430.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02266/0.5308, allocations: 5.97 MB / 0.6201 GB, free: 11.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.5309, allocations: 4 kB / 0.6201 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01306/0.5439, allocations: 4.528 MB / 0.6245 GB, free: 7.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.544, allocations: 71.33 kB / 0.6246 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.5441, allocations: 8 kB / 0.6246 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005814/0.5499, allocations: 1.638 MB / 0.6262 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.5512, allocations: 303.5 kB / 0.6265 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/0.5724, allocations: 10.48 MB / 0.6367 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.5747, allocations: 202.7 kB / 0.6369 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.5749, allocations: 71.97 kB / 0.637 GB, free: 10.07 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization 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.000799/0.5757, allocations: 368.2 kB / 0.6373 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/0.5777, allocations: 0.6687 MB / 0.638 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.5918, allocations: 4.144 MB / 0.642 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.5918, allocations: 15.94 kB / 0.642 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.5919, allocations: 8 kB / 0.642 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/0.5919, allocations: 7.969 kB / 0.642 GB, free: 4.809 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.6081, allocations: 5.701 MB / 0.6476 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.6082, allocations: 0 / 0.6476 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.6089, allocations: 107.9 kB / 0.6477 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005949/0.6148, allocations: 1.728 MB / 0.6494 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/0.6151, allocations: 27.98 kB / 0.6494 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.6384, allocations: 12.18 MB / 0.6613 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6384, allocations: 0 / 0.6613 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/0.6543, allocations: 5.123 MB / 0.6663 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.655, allocations: 227.3 kB / 0.6665 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.6553, allocations: 31.92 kB / 0.6666 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6565, allocations: 115.9 kB / 0.6667 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/0.6571, allocations: 172.8 kB / 0.6669 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.6572, allocations: 35.98 kB / 0.6669 GB, free: 10.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001088/0.6583, allocations: 0.7354 MB / 0.6676 GB, free: 10.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6583, allocations: 7.938 kB / 0.6676 GB, free: 10.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001853/0.6602, allocations: 499.5 kB / 0.6681 GB, free: 9.531 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0163/0.6765, allocations: 5.706 MB / 0.6737 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007251/0.6838, allocations: 2.797 MB / 0.6764 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.6839, allocations: 0 / 0.6764 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/0.688, allocations: 1.38 MB / 0.6777 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.6903, allocations: 0.5978 MB / 0.6783 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.7183, allocations: 11.5 MB / 0.6896 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.7191, allocations: 1.156 MB / 0.6907 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005601/0.7197, allocations: 116.9 kB / 0.6908 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/0.7204, allocations: 495.2 kB / 0.6913 GB, free: 1.121 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7204, allocations: 0 / 0.6913 GB, free: 1.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/0.8668, allocations: 33.81 MB / 0.7243 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.8671, allocations: 279.7 kB / 0.7246 GB, free: 15.25 MB / 0.5294 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 2 warnings and 12 errors generated. make: *** [: OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1