Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.000983/0.0009831, allocations: 175.1 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.201/1.201, 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.0008202/0.0008202, allocations: 87.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.0.1/package.mo): time 0.4528/0.4528, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.889e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3101, allocations: 69.34 MB / 0.5481 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.424, allocations: 100.2 MB / 0.6459 GB, free: 180 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4242, allocations: 83.47 kB / 0.646 GB, free: 100 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3852/0.8094, allocations: 42.41 MB / 0.6874 GB, free: 74.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.8094, allocations: 0 / 0.6874 GB, free: 74.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.225e-05/0.8095, allocations: 21.62 kB / 0.6874 GB, free: 74.59 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.004171/0.8137, allocations: 1.729 MB / 0.6891 GB, free: 73.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8137, allocations: 13.28 kB / 0.6891 GB, free: 73.78 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.814, allocations: 131.8 kB / 0.6893 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.8174, allocations: 0.5644 MB / 0.6898 GB, free: 73.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.8189, allocations: 0.7873 MB / 0.6906 GB, free: 73.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.8192, allocations: 267.2 kB / 0.6908 GB, free: 73.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.8193, allocations: 78.94 kB / 0.6909 GB, free: 73.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.8212, allocations: 1.249 MB / 0.6921 GB, free: 73.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.8212, allocations: 7.438 kB / 0.6921 GB, free: 73.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.8213, allocations: 29.97 kB / 0.6922 GB, free: 73.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.8213, allocations: 18.62 kB / 0.6922 GB, free: 73.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.8225, allocations: 0.8519 MB / 0.693 GB, free: 73 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.005506/0.828, allocations: 3.673 MB / 0.6966 GB, free: 71.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006673/0.8347, allocations: 2.851 MB / 0.6994 GB, free: 71.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.8359, allocations: 0.6302 MB / 0.7 GB, free: 71.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.836, allocations: 17.48 kB / 0.7 GB, free: 71.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/0.8368, allocations: 0.62 MB / 0.7006 GB, free: 70.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=115): time 2.695e-06/0.8368, allocations: 0 / 0.7006 GB, free: 70.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.01162/0.8485, allocations: 4.155 MB / 0.7047 GB, free: 70.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.8486, allocations: 197.5 kB / 0.7049 GB, free: 70.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.8499, allocations: 0.8838 MB / 0.7057 GB, free: 70.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.8502, allocations: 47.77 kB / 0.7058 GB, free: 70.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.8504, allocations: 0.4923 MB / 0.7062 GB, free: 70.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.8507, allocations: 327.6 kB / 0.7066 GB, free: 69.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.8508, allocations: 28.12 kB / 0.7066 GB, free: 69.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.8509, allocations: 346.1 kB / 0.7069 GB, free: 69.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.8515, allocations: 447 kB / 0.7073 GB, free: 69.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/0.8523, allocations: 0.7481 MB / 0.7081 GB, free: 69.18 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.001611/0.8539, allocations: 1.151 MB / 0.7092 GB, free: 68.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.8539, allocations: 3.594 kB / 0.7092 GB, free: 68.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01158/0.8655, allocations: 4.195 MB / 0.7133 GB, free: 66.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.8656, allocations: 67.36 kB / 0.7134 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.8657, allocations: 12 kB / 0.7134 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004731/0.8704, allocations: 1.466 MB / 0.7148 GB, free: 65.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.8713, allocations: 204.7 kB / 0.715 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.883, allocations: 6.556 MB / 0.7214 GB, free: 61.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8846, allocations: 206.3 kB / 0.7216 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.8847, allocations: 49.62 kB / 0.7216 GB, free: 61.67 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.00032/0.8851, allocations: 228 kB / 0.7219 GB, free: 61.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/0.8867, allocations: 0.6806 MB / 0.7225 GB, free: 60.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.8988, allocations: 4.416 MB / 0.7268 GB, free: 58.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-05/0.8989, allocations: 12 kB / 0.7269 GB, free: 58.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/0.8989, allocations: 12 kB / 0.7269 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-05/0.899, allocations: 3.844 kB / 0.7269 GB, free: 58.21 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.013/0.912, allocations: 5.471 MB / 0.7322 GB, free: 54.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.912, allocations: 0 / 0.7322 GB, free: 54.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.9126, allocations: 115.1 kB / 0.7323 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004668/0.9173, allocations: 1.611 MB / 0.7339 GB, free: 53.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.9175, allocations: 22.61 kB / 0.7339 GB, free: 53.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.9318, allocations: 10.09 MB / 0.7438 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9319, allocations: 0 / 0.7438 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.9449, allocations: 5.28 MB / 0.7489 GB, free: 40.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.9456, allocations: 240.9 kB / 0.7492 GB, free: 40.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.9458, allocations: 29.14 kB / 0.7492 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.947, allocations: 145.7 kB / 0.7493 GB, free: 40.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004879/0.9475, allocations: 183.8 kB / 0.7495 GB, free: 40.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/0.9476, allocations: 34.48 kB / 0.7495 GB, free: 40.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000869/0.9485, allocations: 0.6876 MB / 0.7502 GB, free: 39.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9485, allocations: 0 / 0.7502 GB, free: 39.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001321/0.9498, allocations: 456.3 kB / 0.7506 GB, free: 39.26 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.01334/0.9632, allocations: 6.114 MB / 0.7566 GB, free: 33.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004528/0.9678, allocations: 2.131 MB / 0.7587 GB, free: 31.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.9678, allocations: 0 / 0.7587 GB, free: 31.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.9712, allocations: 1.374 MB / 0.76 GB, free: 30.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.9728, allocations: 0.5659 MB / 0.7606 GB, free: 29.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.9766, allocations: 2.029 MB / 0.7626 GB, free: 27.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.977, allocations: 1.187 MB / 0.7637 GB, free: 26.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.9774, allocations: 94.94 kB / 0.7638 GB, free: 26.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.9778, allocations: 475.3 kB / 0.7643 GB, free: 25.96 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/0.9778, allocations: 0 / 0.7643 GB, free: 25.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/1.025, allocations: 31.3 MB / 0.7948 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.026, allocations: 222.1 kB / 0.795 GB, free: 10.97 MB / 0.4948 GB 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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_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_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_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_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_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_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_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_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_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_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_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1