Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_release_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_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 85.38 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.452/0.452, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.724e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 69.34 MB / 0.5481 GB, free: 20.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4351, allocations: 100.2 MB / 0.6459 GB, free: 324 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4354, allocations: 87.47 kB / 0.646 GB, free: 240 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4041/0.8395, allocations: 42.41 MB / 0.6874 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.8395, allocations: 0 / 0.6874 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.8397, allocations: 20.09 kB / 0.6875 GB, free: 106.3 MB / 490.7 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.004914/0.8446, allocations: 1.732 MB / 0.6892 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8447, allocations: 7.75 kB / 0.6892 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/0.845, allocations: 130.2 kB / 0.6893 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/0.8485, allocations: 0.5665 MB / 0.6898 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.8501, allocations: 0.7921 MB / 0.6906 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.8504, allocations: 271.7 kB / 0.6909 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.8506, allocations: 82.84 kB / 0.6909 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.8527, allocations: 1.245 MB / 0.6922 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.8527, allocations: 0 / 0.6922 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8528, allocations: 33.06 kB / 0.6922 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.8529, allocations: 19.22 kB / 0.6922 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.8543, allocations: 0.8474 MB / 0.693 GB, free: 104.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005487/0.8598, allocations: 3.671 MB / 0.6966 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006873/0.8667, allocations: 2.852 MB / 0.6994 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/0.8675, allocations: 0.6278 MB / 0.7 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.8676, allocations: 21.94 kB / 0.7 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008201/0.8685, allocations: 0.6147 MB / 0.7006 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=115): time 3.387e-06/0.8685, allocations: 3.938 kB / 0.7006 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.01157/0.8801, allocations: 4.151 MB / 0.7047 GB, free: 100.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.8802, allocations: 201.1 kB / 0.7049 GB, free: 100.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.8815, allocations: 0.8844 MB / 0.7058 GB, free: 99.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.8816, allocations: 45.55 kB / 0.7058 GB, free: 99.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.8819, allocations: 0.5005 MB / 0.7063 GB, free: 99.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.8822, allocations: 313 kB / 0.7066 GB, free: 99.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.8822, allocations: 27.44 kB / 0.7066 GB, free: 99.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.8823, allocations: 352.5 kB / 0.707 GB, free: 98.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.883, allocations: 444.8 kB / 0.7074 GB, free: 98.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007718/0.8838, allocations: 0.7439 MB / 0.7081 GB, free: 98.03 MB / 490.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed 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. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed 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.001653/0.8855, allocations: 1.152 MB / 0.7092 GB, free: 97.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.8855, allocations: 0 / 0.7092 GB, free: 97.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01126/0.8967, allocations: 4.199 MB / 0.7133 GB, free: 93.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.8968, allocations: 66.69 kB / 0.7134 GB, free: 93.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.8968, allocations: 12 kB / 0.7134 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/0.9016, allocations: 1.465 MB / 0.7148 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.9024, allocations: 202.9 kB / 0.715 GB, free: 92.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.9149, allocations: 6.569 MB / 0.7214 GB, free: 86.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.9167, allocations: 203.2 kB / 0.7216 GB, free: 85.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.9168, allocations: 47.98 kB / 0.7217 GB, free: 85.85 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = 0.0 aVRTypeII.ExcitationSystem.y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004154/0.9173, allocations: 236.1 kB / 0.7219 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/0.9191, allocations: 0.6768 MB / 0.7226 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.9311, allocations: 4.42 MB / 0.7269 GB, free: 80.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.9311, allocations: 15.5 kB / 0.7269 GB, free: 80.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/0.9311, allocations: 11.94 kB / 0.7269 GB, free: 80.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.9311, allocations: 7.969 kB / 0.7269 GB, free: 80.44 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01249/0.9436, allocations: 5.474 MB / 0.7323 GB, free: 74.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.9437, allocations: 0 / 0.7323 GB, free: 74.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.9442, allocations: 103.9 kB / 0.7324 GB, free: 74.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.9489, allocations: 1.621 MB / 0.7339 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.949, allocations: 27.94 kB / 0.734 GB, free: 73.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01469/0.9637, allocations: 10.06 MB / 0.7438 GB, free: 62.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9638, allocations: 0 / 0.7438 GB, free: 62.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.9768, allocations: 5.288 MB / 0.749 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.9773, allocations: 239.1 kB / 0.7492 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.9776, allocations: 31.95 kB / 0.7492 GB, free: 57.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9789, allocations: 151.9 kB / 0.7494 GB, free: 56.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/0.9794, allocations: 175.9 kB / 0.7495 GB, free: 56.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/0.9795, allocations: 31.98 kB / 0.7496 GB, free: 56.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.9805, allocations: 0.6861 MB / 0.7502 GB, free: 55.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9805, allocations: 0 / 0.7502 GB, free: 55.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001623/0.9822, allocations: 451.6 kB / 0.7507 GB, free: 55.55 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(19,24.4%) 13} * Non-linear torn systems: 1 {4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01351/0.9957, allocations: 6.115 MB / 0.7566 GB, free: 49.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004598/1, allocations: 2.127 MB / 0.7587 GB, free: 47.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1, allocations: 0 / 0.7587 GB, free: 47.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/1.004, allocations: 1.379 MB / 0.7601 GB, free: 45.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.005, allocations: 0.5668 MB / 0.7606 GB, free: 45.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/1.01, allocations: 2.03 MB / 0.7626 GB, free: 43.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/1.01, allocations: 1.183 MB / 0.7638 GB, free: 41.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004025/1.011, allocations: 98.98 kB / 0.7638 GB, free: 41.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/1.011, allocations: 475.3 kB / 0.7643 GB, free: 41.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/1.011, allocations: 0 / 0.7643 GB, free: 41.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/1.061, allocations: 31.32 MB / 0.7949 GB, free: 10.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/1.062, allocations: 230.8 kB / 0.7951 GB, free: 10.37 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_release_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:35:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:35:11: note: remove extraneous parentheses around the comparison to silence this warning if((_y0 == 0.0)) ~ ^ ~ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:35:11: note: use '=' to turn this equality comparison into an assignment if((_y0 == 0.0)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_release_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_release_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:290:46: error: use of undeclared identifier 'clockIndex' res[0] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:290:106: error: use of undeclared identifier 'clockIndex' res[0] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:292:46: error: use of undeclared identifier 'clockIndex' res[1] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:292:106: error: use of undeclared identifier 'clockIndex' res[1] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:294:46: error: use of undeclared identifier 'clockIndex' res[2] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:294:106: error: use of undeclared identifier 'clockIndex' res[2] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ 2 warnings and 6 errors generated. make: *** [: OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1