Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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.006297/0.006297, allocations: 170.1 kB / 15.11 MB, free: 6.039 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.46/1.46, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008503, allocations: 99.36 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.484/0.484, allocations: 79.44 MB / 420.8 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003862, allocations: 11.98 kB / 0.4891 GB, free: 6.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 69.51 MB / 0.557 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5325, allocations: 104.7 MB / 0.6593 GB, free: 12.45 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.5327, allocations: 79.95 kB / 0.6594 GB, free: 12.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1236/0.6563, allocations: 45.5 MB / 0.7038 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6564, allocations: 4 kB / 0.7038 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001289/0.6565, allocations: 28 kB / 0.7038 GB, free: 14.76 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.008406/0.6649, allocations: 2.606 MB / 0.7064 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.665, allocations: 8.031 kB / 0.7064 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004547/0.6655, allocations: 135.2 kB / 0.7065 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00603/0.6715, allocations: 0.9617 MB / 0.7075 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.6745, allocations: 1.245 MB / 0.7087 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.6748, allocations: 252.2 kB / 0.7089 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/0.6751, allocations: 99.86 kB / 0.709 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.6776, allocations: 1.132 MB / 0.7101 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.6776, allocations: 0 / 0.7101 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.6777, allocations: 31.98 kB / 0.7101 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.6777, allocations: 20 kB / 0.7102 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.6802, allocations: 1.23 MB / 0.7114 GB, free: 6.895 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.01081/0.691, allocations: 4.716 MB / 0.716 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.6943, allocations: 2.183 MB / 0.7181 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.6945, allocations: 25.23 kB / 0.7181 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6945, allocations: 47.88 kB / 0.7182 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 3.116e-06/0.6945, allocations: 4 kB / 0.7182 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.03055/0.7251, allocations: 7.911 MB / 0.7259 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.7252, allocations: 68.7 kB / 0.726 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/0.7291, allocations: 1.548 MB / 0.7275 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.7294, allocations: 45.7 kB / 0.7275 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006013/0.73, allocations: 0.6178 MB / 0.7281 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008274/0.7309, allocations: 469.1 kB / 0.7286 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.731, allocations: 32 kB / 0.7286 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.7312, allocations: 349.9 kB / 0.7289 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.7328, allocations: 0.6702 MB / 0.7296 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.7344, allocations: 0.7852 MB / 0.7304 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.736, allocations: 0.7171 MB / 0.7311 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.7361, allocations: 0 / 0.7311 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005942/0.742, allocations: 2.395 MB / 0.7334 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.7421, allocations: 12.03 kB / 0.7334 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7421, allocations: 4 kB / 0.7334 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/0.7533, allocations: 3.076 MB / 0.7364 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.7543, allocations: 171.8 kB / 0.7366 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.7602, allocations: 2.693 MB / 0.7392 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.7625, allocations: 170.9 kB / 0.7394 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.7627, allocations: 55.91 kB / 0.7394 GB, free: 9.602 MB / 0.5261 GB 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 (87): * Single equations (assignments): 86 * 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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007722/0.7635, allocations: 253.7 kB / 0.7397 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/0.7641, allocations: 173.8 kB / 0.7398 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.7757, allocations: 4.152 MB / 0.7439 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.7757, allocations: 15.94 kB / 0.7439 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.7757, allocations: 0 / 0.7439 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.7758, allocations: 3.984 kB / 0.7439 GB, free: 4.984 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.01477/0.7905, allocations: 6.381 MB / 0.7501 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.7906, allocations: 3.984 kB / 0.7501 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7918, allocations: 163.8 kB / 0.7503 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005567/0.7973, allocations: 1.691 MB / 0.7519 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.7976, allocations: 31.98 kB / 0.752 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/0.8165, allocations: 8.179 MB / 0.76 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.8165, allocations: 0 / 0.76 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.8304, allocations: 5.198 MB / 0.765 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.8315, allocations: 334.8 kB / 0.7654 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007694/0.8323, allocations: 31.98 kB / 0.7654 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.8345, allocations: 111.9 kB / 0.7655 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000663/0.8352, allocations: 185.4 kB / 0.7657 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/0.8354, allocations: 32 kB / 0.7657 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002223/0.8376, allocations: 1.223 MB / 0.7669 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8377, allocations: 0 / 0.7669 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001852/0.8395, allocations: 487.5 kB / 0.7674 GB, free: 12.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/0.8535, allocations: 5.825 MB / 0.773 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006889/0.8604, allocations: 2.306 MB / 0.7753 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8605, allocations: 4 kB / 0.7753 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/0.8652, allocations: 1.65 MB / 0.7769 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.8669, allocations: 145.5 kB / 0.7771 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.8917, allocations: 14.39 MB / 0.7911 GB, free: 3.543 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/0.8926, allocations: 1.265 MB / 0.7923 GB, free: 2.246 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007598/0.8934, allocations: 129.4 kB / 0.7925 GB, free: 2.117 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.8944, allocations: 0.6203 MB / 0.7931 GB, free: 1.496 MB / 0.573 GB Notification: Performance of SimCode: time 1.022e-06/0.8945, allocations: 0 / 0.7931 GB, free: 1.496 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/1.22, allocations: 40.9 MB / 0.833 GB, free: 145.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.22, allocations: 231.3 kB / 0.8332 GB, free: 144.9 MB / 0.573 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_Reference_system.o OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c In file included from OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_model.h:24: ./OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.o] Error 1