Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.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.Mostar,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar",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.006873/0.006873, allocations: 170.8 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.302/1.302, 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.0008459/0.0008459, allocations: 98.05 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4572/0.4572, allocations: 78.58 MB / 419.9 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 8 kB / 499.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 69.36 MB / 0.5559 GB, free: 1.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3674/0.4938, allocations: 107 MB / 0.6603 GB, free: 11.31 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4941, allocations: 84.59 kB / 0.6604 GB, free: 11.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1093/0.6034, allocations: 39.25 MB / 0.6988 GB, free: 4.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6034, allocations: 3.938 kB / 0.6988 GB, free: 4.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001957/0.6036, allocations: 35.98 kB / 0.6988 GB, free: 4.441 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006422/0.6101, allocations: 2.082 MB / 0.7008 GB, free: 2.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6101, allocations: 8.031 kB / 0.7008 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005017/0.6106, allocations: 156.2 kB / 0.701 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.6121, allocations: 287.7 kB / 0.7013 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.6146, allocations: 1.029 MB / 0.7023 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.615, allocations: 208.8 kB / 0.7025 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.6153, allocations: 104 kB / 0.7026 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.6182, allocations: 1.369 MB / 0.7039 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6182, allocations: 0 / 0.7039 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.6183, allocations: 44 kB / 0.7039 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.6184, allocations: 24 kB / 0.704 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.6212, allocations: 1.257 MB / 0.7052 GB, free: 13.68 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.01025/0.6315, allocations: 5.182 MB / 0.7102 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008899/0.6404, allocations: 3.019 MB / 0.7132 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.6406, allocations: 20.97 kB / 0.7132 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/0.6425, allocations: 0.7982 MB / 0.714 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 5.39e-06/0.6425, allocations: 0 / 0.714 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.01138/0.6539, allocations: 3.514 MB / 0.7174 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.6541, allocations: 274 kB / 0.7177 GB, free: 440 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.6564, allocations: 1.146 MB / 0.7188 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.6566, allocations: 45.7 kB / 0.7188 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/0.6572, allocations: 0.6661 MB / 0.7195 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.6576, allocations: 366.7 kB / 0.7198 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.6577, allocations: 28 kB / 0.7199 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6579, allocations: 354 kB / 0.7202 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.6593, allocations: 0.6233 MB / 0.7208 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.661, allocations: 0.8595 MB / 0.7217 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.6625, allocations: 0.6862 MB / 0.7223 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.6625, allocations: 3.953 kB / 0.7223 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008728/0.6712, allocations: 3.183 MB / 0.7254 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006139/0.6719, allocations: 1.521 MB / 0.7269 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.6719, allocations: 4 kB / 0.7269 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/0.6786, allocations: 1.81 MB / 0.7287 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.6793, allocations: 151.8 kB / 0.7288 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.6864, allocations: 4.794 MB / 0.7335 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.6881, allocations: 211.2 kB / 0.7337 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.6884, allocations: 51.98 kB / 0.7338 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6884, allocations: 4 kB / 0.7338 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007131/0.6955, allocations: 2.5 MB / 0.7362 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6956, allocations: 8.062 kB / 0.7362 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005731/0.7013, allocations: 1.548 MB / 0.7377 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.702, allocations: 143.8 kB / 0.7379 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008833/0.7109, allocations: 7.814 MB / 0.7455 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.7128, allocations: 167 kB / 0.7457 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.7131, allocations: 47.98 kB / 0.7457 GB, free: 2.703 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001101/0.7142, allocations: 377.4 kB / 0.7461 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004904/0.7147, allocations: 154.1 kB / 0.7462 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006764/0.7214, allocations: 2.198 MB / 0.7484 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.7215, allocations: 8 kB / 0.7484 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.7215, allocations: 4 kB / 0.7484 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.7215, allocations: 3.984 kB / 0.7484 GB, free: 15.95 MB / 0.5417 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.009129/0.7307, allocations: 3.959 MB / 0.7523 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.7307, allocations: 0 / 0.7523 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7318, allocations: 191.8 kB / 0.7524 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.7343, allocations: 0.6608 MB / 0.7531 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.7345, allocations: 27.95 kB / 0.7531 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/0.7423, allocations: 3.743 MB / 0.7568 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7423, allocations: 0 / 0.7568 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.7501, allocations: 3.022 MB / 0.7597 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.7507, allocations: 255 kB / 0.76 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.7511, allocations: 24 kB / 0.76 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.7525, allocations: 131.9 kB / 0.7601 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.7528, allocations: 124.8 kB / 0.7602 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.7529, allocations: 35.94 kB / 0.7603 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001596/0.7545, allocations: 0.8803 MB / 0.7611 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7545, allocations: 3.938 kB / 0.7611 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002183/0.7567, allocations: 0.6275 MB / 0.7617 GB, free: 1.973 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.007439/0.7641, allocations: 3.56 MB / 0.7652 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009087/0.7733, allocations: 3.631 MB / 0.7688 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7733, allocations: 0 / 0.7688 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/0.776, allocations: 1.084 MB / 0.7698 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.7775, allocations: 165.4 kB / 0.77 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.7863, allocations: 6.442 MB / 0.7763 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.7874, allocations: 1.234 MB / 0.7775 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008883/0.7883, allocations: 140.9 kB / 0.7776 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008677/0.7892, allocations: 0.5773 MB / 0.7782 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/0.7892, allocations: 0 / 0.7782 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2809/1.07, allocations: 36.46 MB / 0.8138 GB, free: 146 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/1.07, allocations: 213.2 kB / 0.814 GB, free: 145.8 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_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.o OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.c In file included from OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar_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_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar_model.h:24: ./OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar_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_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.o] Error 1