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.001304/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 238.9 MB, free: 4.758 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.001417/0.001417, allocations: 200.4 kB / 289.2 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5263/0.5263, allocations: 91.9 MB / 431.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75.86 kB / 0.5013 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.428, allocations: 71.26 MB / 0.5709 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007673/0.4358, allocations: 7.081 MB / 0.5778 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005749/0.4416, allocations: 2.085 MB / 0.5799 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.443, allocations: 11.28 kB / 0.5799 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007633/0.4438, allocations: 185.5 kB / 0.58 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.4458, allocations: 0.7075 MB / 0.5807 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.447, allocations: 0.6146 MB / 0.5813 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.4483, allocations: 1.526 MB / 0.5828 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.4487, allocations: 309.6 kB / 0.5831 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.4493, allocations: 0.5963 MB / 0.5837 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.4499, allocations: 0.7907 MB / 0.5845 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.45, allocations: 70.72 kB / 0.5845 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.4505, allocations: 208.5 kB / 0.5847 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.4507, allocations: 290.3 kB / 0.585 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.4512, allocations: 0.6277 MB / 0.5856 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.4523, allocations: 1.622 MB / 0.5872 GB, free: 27.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4523, allocations: 4 kB / 0.5872 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4523, allocations: 1.219 kB / 0.5872 GB, free: 27.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.4523, allocations: 0 / 0.5872 GB, free: 27.32 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.009045/0.4614, allocations: 2.704 MB / 0.5899 GB, free: 26.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4615, allocations: 13.38 kB / 0.5899 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.4616, allocations: 133 kB / 0.59 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.4668, allocations: 0.7757 MB / 0.5908 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.4687, allocations: 0.8964 MB / 0.5916 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.4689, allocations: 263.8 kB / 0.5919 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.4691, allocations: 92.25 kB / 0.592 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.4718, allocations: 1.421 MB / 0.5934 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4719, allocations: 0 / 0.5934 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/0.472, allocations: 32.16 kB / 0.5934 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.472, allocations: 17.97 kB / 0.5934 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.474, allocations: 0.9953 MB / 0.5944 GB, free: 23.99 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.006355/0.4804, allocations: 3.727 MB / 0.598 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007536/0.4879, allocations: 2.563 MB / 0.6005 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.4897, allocations: 0.7704 MB / 0.6013 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.4898, allocations: 22.72 kB / 0.6013 GB, free: 20.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.4914, allocations: 0.7457 MB / 0.602 GB, free: 20.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.94e-06/0.4914, allocations: 0 / 0.602 GB, free: 20.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03042/0.5218, allocations: 7.306 MB / 0.6092 GB, free: 18.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.522, allocations: 206.4 kB / 0.6094 GB, free: 18.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.5239, allocations: 1.085 MB / 0.6104 GB, free: 18.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.5241, allocations: 47.7 kB / 0.6105 GB, free: 17.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.5245, allocations: 483.4 kB / 0.6109 GB, free: 17.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.5249, allocations: 334.9 kB / 0.6112 GB, free: 17.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005488/0.5254, allocations: 312 kB / 0.6115 GB, free: 17.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.5255, allocations: 301.7 kB / 0.6118 GB, free: 16.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.5271, allocations: 0.7506 MB / 0.6126 GB, free: 16.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.5288, allocations: 1.098 MB / 0.6136 GB, free: 15.95 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.0226/0.5514, allocations: 5.955 MB / 0.6194 GB, free: 12.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/0.5515, allocations: 7.938 kB / 0.6195 GB, free: 12.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01279/0.5643, allocations: 4.528 MB / 0.6239 GB, free: 7.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.5644, allocations: 67.34 kB / 0.6239 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.5644, allocations: 8 kB / 0.6239 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005595/0.57, allocations: 1.634 MB / 0.6255 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.5714, allocations: 299.5 kB / 0.6258 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/0.5913, allocations: 9.632 MB / 0.6352 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.5936, allocations: 206.7 kB / 0.6354 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.5938, allocations: 71.97 kB / 0.6355 GB, free: 11.42 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.0008799/0.5947, allocations: 358.6 kB / 0.6358 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/0.5967, allocations: 0.6729 MB / 0.6365 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.6103, allocations: 4.144 MB / 0.6405 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.6104, allocations: 15.94 kB / 0.6406 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.6104, allocations: 8 kB / 0.6406 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.6104, allocations: 7.969 kB / 0.6406 GB, free: 6.16 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.01586/0.6263, allocations: 5.697 MB / 0.6461 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.6264, allocations: 3.938 kB / 0.6461 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.627, allocations: 103.9 kB / 0.6462 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005971/0.633, allocations: 1.728 MB / 0.6479 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.6332, allocations: 24 kB / 0.648 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02345/0.6567, allocations: 11.12 MB / 0.6588 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6567, allocations: 3.938 kB / 0.6588 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/0.673, allocations: 5.111 MB / 0.6638 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/0.6738, allocations: 227.3 kB / 0.664 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/0.6742, allocations: 24 kB / 0.6641 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.6758, allocations: 111.9 kB / 0.6642 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/0.6765, allocations: 180.6 kB / 0.6643 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.6766, allocations: 28 kB / 0.6644 GB, free: 13.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.678, allocations: 0.7355 MB / 0.6651 GB, free: 12.47 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.678, allocations: 4 kB / 0.6651 GB, free: 12.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002248/0.6803, allocations: 0.4917 MB / 0.6656 GB, free: 11.98 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.01757/0.6979, allocations: 5.724 MB / 0.6712 GB, free: 6.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007544/0.7054, allocations: 2.75 MB / 0.6738 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7055, allocations: 0 / 0.6738 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004174/0.7097, allocations: 1.387 MB / 0.6752 GB, free: 1.977 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.7123, allocations: 0.5956 MB / 0.6758 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/0.7419, allocations: 11.5 MB / 0.687 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/0.7429, allocations: 1.16 MB / 0.6881 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006123/0.7435, allocations: 120.9 kB / 0.6883 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008703/0.7444, allocations: 483.3 kB / 0.6887 GB, free: 3.598 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7444, allocations: 0 / 0.6887 GB, free: 3.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07654/0.821, allocations: 32.43 MB / 0.7204 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/0.8214, allocations: 271.4 kB / 0.7206 GB, free: 3.074 MB / 0.5137 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:551:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:482: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