Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.01026/0.01026, allocations: 170.7 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.367/1.367, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009217/0.0009218, allocations: 101.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4437/0.4437, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 8 kB / 499.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3952, allocations: 69.35 MB / 0.5558 GB, free: 38.7 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5269, allocations: 104.1 MB / 0.6574 GB, free: 2.293 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.5272, allocations: 76.56 kB / 0.6575 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1061/0.6333, allocations: 39.33 MB / 0.6959 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6334, allocations: 0 / 0.6959 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.086e-05/0.6335, allocations: 28 kB / 0.6959 GB, free: 10.62 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.005858/0.6393, allocations: 2.15 MB / 0.698 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.6394, allocations: 8.031 kB / 0.6981 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/0.6396, allocations: 118.5 kB / 0.6982 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.6418, allocations: 409.8 kB / 0.6986 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.6434, allocations: 0.8694 MB / 0.6994 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.6437, allocations: 234.4 kB / 0.6996 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6439, allocations: 75.95 kB / 0.6997 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.6461, allocations: 1.026 MB / 0.7007 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.6461, allocations: 0 / 0.7007 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.6462, allocations: 32 kB / 0.7007 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.6462, allocations: 19.98 kB / 0.7008 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.6489, allocations: 1.167 MB / 0.7019 GB, free: 4.371 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.006927/0.6558, allocations: 3.571 MB / 0.7054 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.6591, allocations: 1.744 MB / 0.7071 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.6593, allocations: 20.98 kB / 0.7071 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.6593, allocations: 47.48 kB / 0.7072 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=103): time 5.871e-06/0.6593, allocations: 7.984 kB / 0.7072 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.02557/0.6849, allocations: 7.062 MB / 0.7141 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.685, allocations: 64.41 kB / 0.7141 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.6872, allocations: 1.059 MB / 0.7152 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.6875, allocations: 41.7 kB / 0.7152 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.688, allocations: 0.5142 MB / 0.7157 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/0.6884, allocations: 374.5 kB / 0.7161 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.6885, allocations: 20 kB / 0.7161 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6887, allocations: 341.9 kB / 0.7164 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.6901, allocations: 0.6383 MB / 0.717 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.6917, allocations: 0.731 MB / 0.7177 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6933, allocations: 0.6746 MB / 0.7184 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6933, allocations: 0 / 0.7184 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005203/0.6985, allocations: 2.192 MB / 0.7205 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.6986, allocations: 9.031 kB / 0.7205 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6986, allocations: 4 kB / 0.7205 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009649/0.7082, allocations: 2.526 MB / 0.723 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.7091, allocations: 143.8 kB / 0.7231 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.7146, allocations: 2.46 MB / 0.7256 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.7165, allocations: 175.2 kB / 0.7257 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.7167, allocations: 39.94 kB / 0.7258 GB, free: 11.5 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 (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.0005572/0.7172, allocations: 229.7 kB / 0.726 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.7175, allocations: 138.3 kB / 0.7261 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.7293, allocations: 3.998 MB / 0.73 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.7293, allocations: 19.89 kB / 0.73 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.7294, allocations: 0 / 0.73 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/0.7294, allocations: 7.969 kB / 0.73 GB, free: 7.086 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.0148/0.7442, allocations: 5.692 MB / 0.7356 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.7443, allocations: 0 / 0.7356 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.7453, allocations: 139.9 kB / 0.7357 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005816/0.7512, allocations: 1.668 MB / 0.7374 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002962/0.7515, allocations: 24 kB / 0.7374 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/0.7729, allocations: 8.208 MB / 0.7454 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.773, allocations: 0 / 0.7454 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.7871, allocations: 4.956 MB / 0.7502 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008293/0.788, allocations: 259.1 kB / 0.7505 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.7882, allocations: 16 kB / 0.7505 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.7897, allocations: 127.9 kB / 0.7506 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006722/0.7904, allocations: 176.7 kB / 0.7508 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/0.7905, allocations: 28 kB / 0.7508 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001507/0.792, allocations: 0.8435 MB / 0.7516 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/0.792, allocations: 7.875 kB / 0.7517 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001361/0.7934, allocations: 383.6 kB / 0.752 GB, free: 264 kB / 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 (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.014/0.8074, allocations: 5.427 MB / 0.7573 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006499/0.814, allocations: 2.047 MB / 0.7593 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.814, allocations: 4 kB / 0.7593 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004455/0.8185, allocations: 1.499 MB / 0.7608 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8197, allocations: 108.7 kB / 0.7609 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2937/1.113, allocations: 11 MB / 0.7716 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/1.114, allocations: 1.142 MB / 0.7727 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000693/1.115, allocations: 99.09 kB / 0.7728 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/1.116, allocations: 488.3 kB / 0.7733 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.743e-06/1.116, allocations: 1.375 kB / 0.7733 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05863/1.174, allocations: 31.3 MB / 0.8039 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.175, allocations: 227 kB / 0.8041 GB, free: 142.1 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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.o OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c In file included from OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_model.h:24: ./OpenIPSL_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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.o] Error 1