Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.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.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.005692/0.005691, allocations: 172.1 kB / 15.11 MB, free: 5.973 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.323/1.323, allocations: 223.2 MB / 239 MB, free: 1.828 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 102 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4771/0.4771, allocations: 79.44 MB / 420.8 MB, free: 43.8 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 16 kB / 0.4891 GB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4132, allocations: 69.5 MB / 0.557 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.5494, allocations: 104 MB / 0.6586 GB, free: 1.512 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5497, allocations: 79.97 kB / 0.6587 GB, free: 1.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09166/0.6414, allocations: 32.34 MB / 0.6902 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6414, allocations: 4 kB / 0.6902 GB, free: 0.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.879e-05/0.6415, allocations: 16 kB / 0.6903 GB, free: 0.9023 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006535/0.6481, allocations: 2.026 MB / 0.6922 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.6481, allocations: 8.031 kB / 0.6923 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/0.6485, allocations: 102.5 kB / 0.6923 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/0.6529, allocations: 0.7165 MB / 0.693 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.6552, allocations: 0.9179 MB / 0.6939 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.6556, allocations: 221.8 kB / 0.6942 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.6559, allocations: 64 kB / 0.6942 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.6582, allocations: 0.9394 MB / 0.6951 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6582, allocations: 3.938 kB / 0.6951 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.6583, allocations: 24 kB / 0.6952 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6583, allocations: 12 kB / 0.6952 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.6608, allocations: 1.067 MB / 0.6962 GB, free: 10.65 MB / 0.4948 GB 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.00756/0.6684, allocations: 2.989 MB / 0.6991 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.6713, allocations: 1.17 MB / 0.7003 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.6714, allocations: 32.86 kB / 0.7003 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6715, allocations: 43.56 kB / 0.7003 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 3.316e-06/0.6715, allocations: 0 / 0.7003 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.0244/0.6959, allocations: 6.824 MB / 0.707 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.696, allocations: 60.41 kB / 0.7071 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.6986, allocations: 1.062 MB / 0.7081 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.6989, allocations: 41.7 kB / 0.7081 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.6993, allocations: 433.8 kB / 0.7086 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.6999, allocations: 342.9 kB / 0.7089 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.7, allocations: 16 kB / 0.7089 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7002, allocations: 338 kB / 0.7092 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.7016, allocations: 0.5915 MB / 0.7098 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.703, allocations: 0.6061 MB / 0.7104 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.7045, allocations: 0.6277 MB / 0.711 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7045, allocations: 0 / 0.711 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.005025/0.7096, allocations: 2.033 MB / 0.713 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.7096, allocations: 4.625 kB / 0.713 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7096, allocations: 4 kB / 0.713 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009524/0.7192, allocations: 2.514 MB / 0.7155 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.7199, allocations: 111.9 kB / 0.7156 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.7256, allocations: 2.46 MB / 0.718 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.7275, allocations: 159.2 kB / 0.7181 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.7277, allocations: 27.98 kB / 0.7181 GB, free: 3.914 MB / 0.5105 GB 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.000641/0.7283, allocations: 209.8 kB / 0.7183 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005338/0.7289, allocations: 114.6 kB / 0.7185 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.7406, allocations: 3.922 MB / 0.7223 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.7407, allocations: 15.94 kB / 0.7223 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7407, allocations: 4 kB / 0.7223 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.7407, allocations: 3.984 kB / 0.7223 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.7433, allocations: 1.277 MB / 0.7236 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.7433, allocations: 0 / 0.7236 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.7442, allocations: 119.8 kB / 0.7237 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005764/0.75, allocations: 1.669 MB / 0.7253 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.7502, allocations: 20 kB / 0.7253 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/0.7707, allocations: 8.195 MB / 0.7333 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7708, allocations: 0 / 0.7333 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.7846, allocations: 4.776 MB / 0.738 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/0.7855, allocations: 259.3 kB / 0.7382 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/0.786, allocations: 20 kB / 0.7383 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.7878, allocations: 123.8 kB / 0.7384 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006267/0.7884, allocations: 172.7 kB / 0.7385 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.7886, allocations: 31.95 kB / 0.7386 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001711/0.7903, allocations: 0.8461 MB / 0.7394 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7903, allocations: 0 / 0.7394 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001629/0.792, allocations: 367.6 kB / 0.7397 GB, free: 13.53 MB / 0.5417 GB 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.01358/0.8056, allocations: 5.248 MB / 0.7449 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00645/0.8121, allocations: 1.953 MB / 0.7468 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8121, allocations: 4 kB / 0.7468 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004312/0.8164, allocations: 1.442 MB / 0.7482 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.8177, allocations: 102 kB / 0.7483 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/0.8372, allocations: 9.501 MB / 0.7576 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.8381, allocations: 1.081 MB / 0.7586 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006327/0.8388, allocations: 90.7 kB / 0.7587 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/0.8397, allocations: 427.2 kB / 0.7591 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of SimCode: time 2.214e-06/0.8397, allocations: 0 / 0.7591 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/1.15, allocations: 30.26 MB / 0.7887 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/1.15, allocations: 233 kB / 0.7889 GB, free: 145.6 MB / 0.5573 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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.o OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c In file included from OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.o] Error 1