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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 174.8 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.207/1.207, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008985/0.0008985, allocations: 89.86 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4498/0.4498, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.697e-05, allocations: 0 / 492.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 69.5 MB / 0.5492 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4105, allocations: 100.9 MB / 0.6477 GB, free: 14.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4108, allocations: 83.47 kB / 0.6478 GB, free: 14.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3904/0.8012, allocations: 43.36 MB / 0.6902 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.8013, allocations: 0 / 0.6902 GB, free: 106.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.276e-05/0.8013, allocations: 21.66 kB / 0.6902 GB, free: 106.5 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.003807/0.8051, allocations: 1.725 MB / 0.6919 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8052, allocations: 10.75 kB / 0.6919 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.8054, allocations: 131.6 kB / 0.692 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.8086, allocations: 0.563 MB / 0.6926 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.81, allocations: 0.7874 MB / 0.6933 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.8102, allocations: 273.3 kB / 0.6936 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.8104, allocations: 85.5 kB / 0.6937 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.8121, allocations: 1.246 MB / 0.6949 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.8122, allocations: 0 / 0.6949 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.8123, allocations: 31.75 kB / 0.6949 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.8123, allocations: 18.19 kB / 0.6949 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.8135, allocations: 0.8587 MB / 0.6958 GB, free: 104.8 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.005424/0.8189, allocations: 3.693 MB / 0.6994 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006467/0.8254, allocations: 2.838 MB / 0.7021 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.8264, allocations: 0.6316 MB / 0.7028 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.8265, allocations: 28.97 kB / 0.7028 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007803/0.8273, allocations: 0.6117 MB / 0.7034 GB, free: 101 MB / 490.7 MB Notification: Performance of pre-optimization done (n=115): time 3.597e-06/0.8273, allocations: 0 / 0.7034 GB, free: 101 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.01148/0.8388, allocations: 4.149 MB / 0.7074 GB, free: 99.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.8389, allocations: 194.2 kB / 0.7076 GB, free: 99.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8401, allocations: 0.8812 MB / 0.7085 GB, free: 98.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.8402, allocations: 53.64 kB / 0.7085 GB, free: 98.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.8405, allocations: 0.4905 MB / 0.709 GB, free: 97.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.8407, allocations: 328.4 kB / 0.7093 GB, free: 97.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.8408, allocations: 24 kB / 0.7094 GB, free: 97.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.8409, allocations: 345.3 kB / 0.7097 GB, free: 97.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.8415, allocations: 446.6 kB / 0.7101 GB, free: 96.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.8423, allocations: 0.7527 MB / 0.7108 GB, free: 96.05 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.001577/0.8438, allocations: 1.143 MB / 0.712 GB, free: 94.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.8439, allocations: 0 / 0.712 GB, free: 94.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01082/0.8547, allocations: 4.197 MB / 0.7161 GB, free: 91.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.8548, allocations: 69.19 kB / 0.7161 GB, free: 91.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.8548, allocations: 8 kB / 0.7161 GB, free: 91.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004643/0.8595, allocations: 1.471 MB / 0.7176 GB, free: 89.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.8603, allocations: 203.7 kB / 0.7178 GB, free: 89.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.872, allocations: 6.561 MB / 0.7242 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.8736, allocations: 203.2 kB / 0.7244 GB, free: 82.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.8738, allocations: 47.98 kB / 0.7244 GB, free: 82.81 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.0003419/0.8741, allocations: 229 kB / 0.7246 GB, free: 82.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/0.8758, allocations: 0.6769 MB / 0.7253 GB, free: 81.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.8875, allocations: 4.423 MB / 0.7296 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.8876, allocations: 12 kB / 0.7296 GB, free: 77.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.8876, allocations: 8 kB / 0.7296 GB, free: 77.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.8877, allocations: 3.984 kB / 0.7296 GB, free: 77.41 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.01181/0.8995, allocations: 5.478 MB / 0.735 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.8995, allocations: 4 kB / 0.735 GB, free: 71.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.9001, allocations: 107.8 kB / 0.7351 GB, free: 71.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004577/0.9047, allocations: 1.625 MB / 0.7367 GB, free: 70.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.9049, allocations: 25.31 kB / 0.7367 GB, free: 70.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.919, allocations: 10.07 MB / 0.7465 GB, free: 59.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.919, allocations: 0 / 0.7465 GB, free: 59.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.9321, allocations: 5.294 MB / 0.7517 GB, free: 54.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.9327, allocations: 239.2 kB / 0.7519 GB, free: 54.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.9329, allocations: 35.94 kB / 0.752 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.9341, allocations: 147.9 kB / 0.7521 GB, free: 53.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/0.9345, allocations: 172.4 kB / 0.7523 GB, free: 53.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.9346, allocations: 35.98 kB / 0.7523 GB, free: 53.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007937/0.9354, allocations: 0.6861 MB / 0.753 GB, free: 52.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9354, allocations: 0 / 0.753 GB, free: 52.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001412/0.9369, allocations: 455.5 kB / 0.7534 GB, free: 52.49 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,(20,23.0%) 12} * Non-linear torn systems: 1 {4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01315/0.95, allocations: 6.099 MB / 0.7594 GB, free: 46.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004554/0.9546, allocations: 2.146 MB / 0.7615 GB, free: 44.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9547, allocations: 0 / 0.7615 GB, free: 44.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.958, allocations: 1.38 MB / 0.7628 GB, free: 42.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.9595, allocations: 0.5669 MB / 0.7634 GB, free: 42.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.9634, allocations: 2.015 MB / 0.7653 GB, free: 40.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.9639, allocations: 1.183 MB / 0.7665 GB, free: 38.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.9642, allocations: 102.9 kB / 0.7666 GB, free: 38.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.9647, allocations: 480.7 kB / 0.767 GB, free: 38.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/0.9647, allocations: 0 / 0.767 GB, free: 38.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04694/1.012, allocations: 31.31 MB / 0.7976 GB, free: 7.477 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/1.012, allocations: 228.9 kB / 0.7978 GB, free: 7.25 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_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: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_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: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_dev_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_dev_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_dev_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_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: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_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: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_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: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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1