Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.006804/0.006804, allocations: 171.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.337/1.337, allocations: 223.2 MB / 239 MB, free: 56 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.0009508/0.0009508, allocations: 100.6 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.488/0.488, allocations: 79.44 MB / 420.7 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 12 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 69.51 MB / 0.557 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5474, allocations: 104.7 MB / 0.6593 GB, free: 12.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5477, allocations: 83.89 kB / 0.6594 GB, free: 12.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09956/0.6473, allocations: 35.5 MB / 0.694 GB, free: 8.809 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6473, allocations: 0 / 0.694 GB, free: 8.809 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.6474, allocations: 28 kB / 0.694 GB, free: 8.781 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.007026/0.6545, allocations: 2.172 MB / 0.6962 GB, free: 6.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.6545, allocations: 14 kB / 0.6962 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003723/0.6549, allocations: 114.5 kB / 0.6963 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/0.6595, allocations: 0.7474 MB / 0.697 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.662, allocations: 0.971 MB / 0.698 GB, free: 4.648 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.6624, allocations: 226.5 kB / 0.6982 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.6627, allocations: 79.88 kB / 0.6983 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.6652, allocations: 1.03 MB / 0.6993 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6652, allocations: 0 / 0.6993 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.6653, allocations: 32 kB / 0.6993 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.6653, allocations: 16 kB / 0.6993 GB, free: 3.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.668, allocations: 1.167 MB / 0.7005 GB, free: 2.066 MB / 490.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.008934/0.6769, allocations: 3.807 MB / 0.7042 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.6802, allocations: 1.756 MB / 0.7059 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.6803, allocations: 16.98 kB / 0.7059 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.6804, allocations: 43.56 kB / 0.7059 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 3.326e-06/0.6804, allocations: 0 / 0.7059 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.02507/0.7055, allocations: 7.062 MB / 0.7128 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.7056, allocations: 64.41 kB / 0.7129 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.7083, allocations: 1.184 MB / 0.7141 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.7085, allocations: 41.7 kB / 0.7141 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.709, allocations: 0.5103 MB / 0.7146 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.7095, allocations: 372.4 kB / 0.7149 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.7096, allocations: 20 kB / 0.715 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7098, allocations: 341.9 kB / 0.7153 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.7113, allocations: 0.6383 MB / 0.7159 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.7128, allocations: 0.7388 MB / 0.7166 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.7144, allocations: 0.6668 MB / 0.7173 GB, free: 440 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7144, allocations: 0 / 0.7173 GB, free: 440 kB / 0.4948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005241/0.7196, allocations: 2.2 MB / 0.7194 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7197, allocations: 4 kB / 0.7194 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.7197, allocations: 4 kB / 0.7194 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009294/0.729, allocations: 2.518 MB / 0.7219 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.7298, allocations: 151.8 kB / 0.7221 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.7352, allocations: 2.462 MB / 0.7245 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.7371, allocations: 171.1 kB / 0.7246 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.7373, allocations: 43.94 kB / 0.7247 GB, free: 8.84 MB / 0.5105 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.0006051/0.7379, allocations: 229.7 kB / 0.7249 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.7385, allocations: 138.3 kB / 0.725 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.7503, allocations: 4.003 MB / 0.7289 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.7503, allocations: 15.95 kB / 0.7289 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.7503, allocations: 0 / 0.7289 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.7503, allocations: 14.42 kB / 0.7289 GB, free: 4.43 MB / 0.5105 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.01462/0.765, allocations: 5.773 MB / 0.7346 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.765, allocations: 0 / 0.7346 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.7659, allocations: 135.9 kB / 0.7347 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/0.7714, allocations: 1.668 MB / 0.7363 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.7716, allocations: 27.98 kB / 0.7364 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.791, allocations: 8.197 MB / 0.7444 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.791, allocations: 0 / 0.7444 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.8048, allocations: 4.964 MB / 0.7492 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/0.8057, allocations: 279 kB / 0.7495 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/0.8062, allocations: 16 kB / 0.7495 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.8079, allocations: 131.9 kB / 0.7496 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/0.8085, allocations: 176.7 kB / 0.7498 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.8086, allocations: 27.98 kB / 0.7498 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00171/0.8104, allocations: 0.9254 MB / 0.7507 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8104, allocations: 0 / 0.7507 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001453/0.8118, allocations: 407.6 kB / 0.7511 GB, free: 13.4 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 (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.01323/0.8251, allocations: 5.422 MB / 0.7564 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006127/0.8312, allocations: 2.049 MB / 0.7584 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8312, allocations: 0 / 0.7584 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.8354, allocations: 1.505 MB / 0.7599 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.8364, allocations: 114.1 kB / 0.76 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/0.8551, allocations: 11.31 MB / 0.771 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.8558, allocations: 1.14 MB / 0.7721 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000544/0.8563, allocations: 103.3 kB / 0.7722 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/0.8571, allocations: 483.3 kB / 0.7727 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.8571, allocations: 0 / 0.7727 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2916/1.149, allocations: 32.34 MB / 0.8043 GB, free: 151.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/1.149, allocations: 229.9 kB / 0.8045 GB, free: 150.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_Line_Aggregation_Reference_system.o OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c In file included from OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.o] Error 1