Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004946/0.004946, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007938/0.0007938, allocations: 98.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06053/0.06053, allocations: 12.2 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4062/0.4062, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004737, allocations: 19 kB / 0.528 GB, free: 35.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4614, allocations: 105.5 MB / 0.6987 GB, free: 100.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4617, allocations: 78.08 kB / 0.6988 GB, free: 100.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09328/0.555, allocations: 38.39 MB / 0.7362 GB, free: 74.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.555, allocations: 4 kB / 0.7363 GB, free: 74.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.301e-05/0.5551, allocations: 20 kB / 0.7363 GB, free: 74.64 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.005814/0.5609, allocations: 2.154 MB / 0.7384 GB, free: 72.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.561, allocations: 11.98 kB / 0.7384 GB, free: 72.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003028/0.5613, allocations: 118.5 kB / 0.7385 GB, free: 72.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.5635, allocations: 405.8 kB / 0.7389 GB, free: 71.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.5651, allocations: 0.8733 MB / 0.7397 GB, free: 70.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.5653, allocations: 234.5 kB / 0.74 GB, free: 70.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5655, allocations: 72 kB / 0.74 GB, free: 70.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.5675, allocations: 1.022 MB / 0.741 GB, free: 69.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5675, allocations: 4 kB / 0.741 GB, free: 69.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.5676, allocations: 32 kB / 0.7411 GB, free: 69.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5676, allocations: 16 kB / 0.7411 GB, free: 69.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.5699, allocations: 1.171 MB / 0.7422 GB, free: 68.39 MB / 474.7 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.005615/0.5755, allocations: 3.579 MB / 0.7457 GB, free: 64.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.5782, allocations: 1.741 MB / 0.7474 GB, free: 62.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.5783, allocations: 20.98 kB / 0.7474 GB, free: 62.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.5784, allocations: 43.56 kB / 0.7475 GB, free: 62.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=103): time 3.266e-06/0.5784, allocations: 0 / 0.7475 GB, free: 62.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=103): time 0.02337/0.6017, allocations: 7.065 MB / 0.7544 GB, free: 55.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6018, allocations: 64.41 kB / 0.7544 GB, free: 55.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.6033, allocations: 1.051 MB / 0.7555 GB, free: 54.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.6035, allocations: 49.7 kB / 0.7555 GB, free: 54.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.6038, allocations: 0.5141 MB / 0.756 GB, free: 53.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.6041, allocations: 362.6 kB / 0.7564 GB, free: 53.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.6041, allocations: 20 kB / 0.7564 GB, free: 53.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.6042, allocations: 345.9 kB / 0.7567 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.6055, allocations: 0.6383 MB / 0.7573 GB, free: 52.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.6067, allocations: 0.735 MB / 0.7581 GB, free: 51.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.608, allocations: 0.6745 MB / 0.7587 GB, free: 51.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.608, allocations: 0 / 0.7587 GB, free: 51.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004246/0.6123, allocations: 2.189 MB / 0.7609 GB, free: 48.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6123, allocations: 4 kB / 0.7609 GB, free: 48.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6123, allocations: 4 kB / 0.7609 GB, free: 48.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00857/0.6209, allocations: 2.53 MB / 0.7633 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.6217, allocations: 143.8 kB / 0.7635 GB, free: 46.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00507/0.6268, allocations: 2.464 MB / 0.7659 GB, free: 43.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.6286, allocations: 183 kB / 0.766 GB, free: 43.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.6288, allocations: 35.98 kB / 0.7661 GB, free: 43.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005934/0.6294, allocations: 233.6 kB / 0.7663 GB, free: 43.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.6298, allocations: 138.3 kB / 0.7664 GB, free: 43.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.6404, allocations: 4.002 MB / 0.7703 GB, free: 39.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.6404, allocations: 12 kB / 0.7704 GB, free: 39.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6404, allocations: 0 / 0.7704 GB, free: 39.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.6405, allocations: 3.984 kB / 0.7704 GB, free: 39.11 MB / 474.7 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.01294/0.6534, allocations: 5.696 MB / 0.7759 GB, free: 33.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6534, allocations: 4 kB / 0.7759 GB, free: 33.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007844/0.6542, allocations: 135.8 kB / 0.7761 GB, free: 33.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/0.6591, allocations: 1.668 MB / 0.7777 GB, free: 31.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.6592, allocations: 19.98 kB / 0.7777 GB, free: 31.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.6765, allocations: 8.206 MB / 0.7857 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6766, allocations: 3.984 kB / 0.7857 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.6892, allocations: 4.953 MB / 0.7906 GB, free: 18.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/0.6898, allocations: 255.2 kB / 0.7908 GB, free: 17.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/0.6902, allocations: 23.94 kB / 0.7908 GB, free: 17.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.6918, allocations: 127.9 kB / 0.7909 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.6924, allocations: 180.7 kB / 0.7911 GB, free: 17.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6925, allocations: 28 kB / 0.7911 GB, free: 17.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.6937, allocations: 0.8355 MB / 0.792 GB, free: 16.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6937, allocations: 3.938 kB / 0.792 GB, free: 16.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001276/0.695, allocations: 395.5 kB / 0.7923 GB, free: 16.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * 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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/0.7068, allocations: 5.414 MB / 0.7976 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005756/0.7126, allocations: 2.051 MB / 0.7996 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7127, allocations: 0 / 0.7996 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003861/0.7165, allocations: 1.507 MB / 0.8011 GB, free: 7.258 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.7177, allocations: 113.9 kB / 0.8012 GB, free: 7.148 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.7346, allocations: 11 MB / 0.812 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.7354, allocations: 1.136 MB / 0.8131 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005816/0.736, allocations: 103.2 kB / 0.8132 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/0.7369, allocations: 487.3 kB / 0.8136 GB, free: 10.06 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7369, allocations: 0 / 0.8136 GB, free: 10.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.7921, allocations: 31.32 MB / 0.8442 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.7923, allocations: 230 kB / 0.8444 GB, free: 10.71 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.o OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.o] Error 1