Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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.004594/0.004594, allocations: 173.6 kB / 15.12 MB, free: 5.984 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.305/1.305, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007835/0.0007834, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06614/0.06614, allocations: 12.21 MB / 330.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4033/0.4033, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004981, allocations: 25.59 kB / 0.528 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 69.25 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4688, allocations: 104.9 MB / 0.6981 GB, free: 100.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4691, allocations: 78.31 kB / 0.6981 GB, free: 100.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08124/0.5503, allocations: 35.33 MB / 0.7326 GB, free: 78.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5504, allocations: 0 / 0.7326 GB, free: 78.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.463e-05/0.5504, allocations: 24 kB / 0.7327 GB, free: 78.39 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004439/0.5548, allocations: 1.991 MB / 0.7346 GB, free: 76.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5549, allocations: 11.98 kB / 0.7346 GB, free: 76.34 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.555, allocations: 106.5 kB / 0.7347 GB, free: 76.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.5568, allocations: 386 kB / 0.7351 GB, free: 75.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5579, allocations: 0.8086 MB / 0.7359 GB, free: 74.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.5581, allocations: 225.8 kB / 0.7361 GB, free: 74.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5582, allocations: 71.91 kB / 0.7362 GB, free: 74.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.5598, allocations: 0.9355 MB / 0.7371 GB, free: 73.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5598, allocations: 0 / 0.7371 GB, free: 73.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/0.5599, allocations: 24 kB / 0.7371 GB, free: 73.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.5599, allocations: 16 kB / 0.7371 GB, free: 73.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5618, allocations: 1.067 MB / 0.7381 GB, free: 72.61 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.003786/0.5656, allocations: 2.759 MB / 0.7408 GB, free: 69.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.568, allocations: 1.168 MB / 0.742 GB, free: 68.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.759e-05/0.5681, allocations: 16.98 kB / 0.742 GB, free: 68.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.5681, allocations: 51.56 kB / 0.742 GB, free: 68.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.565e-06/0.5682, allocations: 0 / 0.742 GB, free: 68.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.02149/0.5896, allocations: 6.812 MB / 0.7487 GB, free: 61.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5897, allocations: 60.41 kB / 0.7488 GB, free: 61.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.591, allocations: 0.9443 MB / 0.7497 GB, free: 60.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.5911, allocations: 41.7 kB / 0.7497 GB, free: 60.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.5913, allocations: 445.7 kB / 0.7501 GB, free: 60.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.5916, allocations: 335 kB / 0.7505 GB, free: 59.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.5916, allocations: 16 kB / 0.7505 GB, free: 59.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.5917, allocations: 345.9 kB / 0.7508 GB, free: 59.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.5928, allocations: 0.5915 MB / 0.7514 GB, free: 58.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5938, allocations: 0.6022 MB / 0.752 GB, free: 58.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5949, allocations: 0.6277 MB / 0.7526 GB, free: 57.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.595, allocations: 0 / 0.7526 GB, free: 57.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003633/0.5986, allocations: 2.037 MB / 0.7546 GB, free: 55.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5986, allocations: 4 kB / 0.7546 GB, free: 55.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5986, allocations: 0 / 0.7546 GB, free: 55.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008047/0.6067, allocations: 2.522 MB / 0.757 GB, free: 53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.6072, allocations: 111.8 kB / 0.7572 GB, free: 52.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.6114, allocations: 2.453 MB / 0.7595 GB, free: 50.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6127, allocations: 159.2 kB / 0.7597 GB, free: 50.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.6128, allocations: 31.98 kB / 0.7597 GB, free: 50.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (54): * Single equations (assignments): 53 * 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.0003723/0.6132, allocations: 205.8 kB / 0.7599 GB, free: 50.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6134, allocations: 122.5 kB / 0.76 GB, free: 49.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009624/0.623, allocations: 3.922 MB / 0.7639 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.623, allocations: 12 kB / 0.7639 GB, free: 45.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.623, allocations: 0 / 0.7639 GB, free: 45.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.623, allocations: 7.984 kB / 0.7639 GB, free: 45.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.6244, allocations: 1.218 MB / 0.7651 GB, free: 44.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6244, allocations: 0 / 0.7651 GB, free: 44.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.6251, allocations: 107.9 kB / 0.7652 GB, free: 44.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/0.6299, allocations: 1.673 MB / 0.7668 GB, free: 42.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/0.6301, allocations: 23.98 kB / 0.7668 GB, free: 42.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/0.6461, allocations: 8.2 MB / 0.7748 GB, free: 34.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6462, allocations: 7.938 kB / 0.7749 GB, free: 34.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.6571, allocations: 4.78 MB / 0.7795 GB, free: 29.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.6577, allocations: 231.3 kB / 0.7797 GB, free: 29.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.6578, allocations: 23.94 kB / 0.7798 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.659, allocations: 115.9 kB / 0.7799 GB, free: 29.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.6594, allocations: 172.7 kB / 0.78 GB, free: 29.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.6595, allocations: 23.98 kB / 0.7801 GB, free: 29.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000832/0.6603, allocations: 0.7485 MB / 0.7808 GB, free: 28.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6604, allocations: 0 / 0.7808 GB, free: 28.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008112/0.6612, allocations: 363.6 kB / 0.7811 GB, free: 28.03 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 (62): * Single equations (assignments): 61 * 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.01061/0.6718, allocations: 5.238 MB / 0.7863 GB, free: 22.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004977/0.6768, allocations: 1.941 MB / 0.7882 GB, free: 20.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6768, allocations: 0 / 0.7882 GB, free: 20.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003434/0.6802, allocations: 1.447 MB / 0.7896 GB, free: 19.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.681, allocations: 104.2 kB / 0.7897 GB, free: 19.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.6931, allocations: 9.198 MB / 0.7986 GB, free: 9.762 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.6935, allocations: 1.081 MB / 0.7997 GB, free: 8.656 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.6939, allocations: 94.69 kB / 0.7998 GB, free: 8.559 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.6944, allocations: 427.3 kB / 0.8002 GB, free: 8.141 MB / 474.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6944, allocations: 0 / 0.8002 GB, free: 8.141 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.7396, allocations: 29.24 MB / 0.8288 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.7398, allocations: 238 kB / 0.829 GB, free: 10.88 MB / 0.4948 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_Generator_Aggregation_Aggregated_system.o OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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_Generator_Aggregation_Aggregated_system.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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_Generator_Aggregation_Aggregated_system.o] Error 1